Skip to content

Commit afe9f64

Browse files
authored
Merge pull request #66 from andreMD287/develop
refactor(investor): rename sidebar nav items and routes
2 parents d0fe1fa + 2df3c24 commit afe9f64

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

apps/investor-tokenization/src/app/roi/layout.tsx renamed to apps/investor-tokenization/src/app/my-investments/layout.tsx

File renamed without changes.
File renamed without changes.

apps/investor-tokenization/src/components/shared/Sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type SidebarLink = {
1515
const links: SidebarLink[] = [
1616
{
1717
href: "/campaigns",
18-
label: "Manage Campaigns",
18+
label: "Campaigns",
1919
icon: <Megaphone className="h-4 w-4" />,
2020
},
2121
{

apps/investor-tokenization/src/features/roi/roi-dashboard-shell.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import { AppSidebar } from "@tokenization/ui/app-sidebar";
1111
import { SidebarWalletButton } from "@tokenization/ui/sidebar-wallet-button";
1212

1313
const ROI_NAV_ITEMS = [
14-
{ href: "/campaigns", label: "Manage Campaigns", icon: Megaphone },
15-
{ href: "/roi", label: "ROI", icon: TrendingUp },
14+
{ href: "/campaigns", label: "Campaigns", icon: Megaphone },
15+
{ href: "/my-investments", label: "My investments", icon: TrendingUp },
1616
];
1717

1818
type RoiDashboardShellProps = {

0 commit comments

Comments
 (0)