Skip to content

Commit

Permalink
fix: fix dashboardPage route path
Browse files Browse the repository at this point in the history
  • Loading branch information
JaneMoroz committed Sep 3, 2024
1 parent 047f491 commit f7a7c6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/sidebar/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const pagesProperties: PageProperty[] = [
name: MainPages.dashboard,
marginBottom: "mb-4",
icon: <RectangleGroupIcon className="h-[1.125rem]" />,
link: "/dashboard",
link: routePaths.dashboardPage(),
"aria-label": "Dashboard Page",
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/utils/routePaths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const routePaths = {
dashboardPage() {
return "/";
return "/dashboard";
},
VoyageMemberDashboardPage(teamId: string) {
return `/dashboard/${teamId}`;
Expand Down

0 comments on commit f7a7c6a

Please sign in to comment.