Skip to content

Commit

Permalink
Wrapped Backup (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
avgupta456 authored Nov 26, 2023
1 parent 130a2de commit aaa8b37
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/src/pages/App/AppTrends.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import { setPrivateAccess as _setPrivateAccess } from '../../redux/actions/userA
import { getUserMetadata } from '../../api';
import { WRAPPED_URL } from '../../constants';
import Footer from './Footer';
import { SelectUserScreen, WrappedScreen } from '../Wrapped';

function WrappedAuthRedirectScreen() {
const { rest } = useParams();
Expand Down Expand Up @@ -68,9 +69,13 @@ function App() {
element={<WrappedAuthRedirectScreen />}
/>
<Route path="/user/*" element={<HomeScreen />} />
<Route path="/wrapped/:userId/:year" element={<WrappedScreen />} />
<Route path="/wrapped/:userId" element={<WrappedScreen />} />
<Route path="/wrapped" element={<SelectUserScreen />} />
{isAuthenticated && (
<Route path="/settings" element={<SettingsScreen />} />
)}
<Route path="/:userId" element={<WrappedScreen />} />
<Route exact path="/" element={<LandingScreen />} />
<Route path="*" element={<NoMatchScreen />} />
</Routes>
Expand Down

1 comment on commit aaa8b37

@vercel
Copy link

@vercel vercel bot commented on aaa8b37 Nov 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

github-wrapped – ./frontend

github-wrapped-git-main-avgupta456.vercel.app
github-wrapped-nu.vercel.app
github-wrapped-avgupta456.vercel.app

Please sign in to comment.