From 3f5c73001c35fb2ff08c79fc038170ddeb2deeaf Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Wed, 29 Jun 2022 12:27:06 -0500 Subject: [PATCH] Replace Portfolio with Profile link --- web/components/nav/nav-bar.tsx | 46 ++++++++++++++++------------------ 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/web/components/nav/nav-bar.tsx b/web/components/nav/nav-bar.tsx index f8294cab..9bbb0631 100644 --- a/web/components/nav/nav-bar.tsx +++ b/web/components/nav/nav-bar.tsx @@ -22,11 +22,6 @@ import { trackCallback } from 'web/lib/service/analytics' function getNavigation(username: string) { return [ { name: 'Home', href: '/home', icon: HomeIcon }, - { - name: 'Portfolio', - href: `/${username}?tab=bets`, - icon: PresentationChartLineIcon, - }, { name: 'Notifications', href: `/notifications`, @@ -64,29 +59,32 @@ export function BottomNavBar() { {navigationOptions.map((item) => ( ))} + + {user && ( + ( + + ), + }} + /> + )}
setSidebarOpen(true)} > - {user === null ? ( - <> -