Skip to content

Commit

Permalink
Fix sidebar navigation (#8)
Browse files Browse the repository at this point in the history
At some point our dependencies updated and the sidebar navigation
stopped working properly.
  • Loading branch information
roluk authored Dec 6, 2023
1 parent 06bdbfa commit c18aeb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/test-app-frontend/src/App/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function AppSidebar(): ReactElement {
startIcon={<SvgPalette />}
title="Components catalog"
isActive={match?.params.tab === "components"}
onClick={() => navigate("components")}
onClick={() => navigate("/components")}
>
Components
</SidenavButton>,
Expand All @@ -103,7 +103,7 @@ function AppSidebar(): ReactElement {
startIcon={<SvgImodelHollow />}
title="iTwin.js App"
isActive={match?.params.tab === "itwinjs"}
onClick={() => navigate("itwinjs")}
onClick={() => navigate("/itwinjs")}
>
iTwin.js App
</SidenavButton>,
Expand Down

0 comments on commit c18aeb6

Please sign in to comment.