Skip to content

Commit

Permalink
also fix default route
Browse files Browse the repository at this point in the history
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
  • Loading branch information
Teo Koon Peng committed Aug 22, 2023
1 parent 53cbb45 commit 298f862
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/dashboard/src/components/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,7 @@ export default function App(): JSX.Element | null {
/>
}
/>
<Route>
<Link to={LoginRoute} />
</Route>
<Route element={<Link to={LoginRoute} />} />
</Routes>
)}
</ResourcesContext.Provider>
Expand Down

0 comments on commit 298f862

Please sign in to comment.