Skip to content

Commit

Permalink
fix: add back the second account route
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarneo committed Nov 27, 2024
1 parent 65dc3d6 commit 3996c38
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions client/routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@ const createAppRouter = () => {
return await getUser();
}}
/>
<Route
path="account"
element={<Account />}
loader={async () => {
const { getUser } = await import('./api/account');
return await getUser();
}}
/>
<Route
path="secrets"
element={<Secrets />}
Expand Down

0 comments on commit 3996c38

Please sign in to comment.