Skip to content

Commit

Permalink
Fix inbox link
Browse files Browse the repository at this point in the history
  • Loading branch information
MVKoleva21 committed Jan 24, 2024
1 parent c321f6d commit 7d83887
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frontend/src/components/Nav.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import axios from "axios"
import NavEntry from "./NavEntry"
import NavSubEntry from "./NavSubEntry"
import { useNavigate } from 'react-router-dom'
import Notification from './Notification'
import Message from "./Message"

import walletIcon from '/icons/wallet.svg'
import profileIcon from '/icons/profile.svg'
Expand Down Expand Up @@ -40,7 +38,7 @@ export default function Nav() {

<NavEntry title="Wallet" click={() => navigator("/wallet")} icon={walletIcon} isSelected={window.location.pathname === "/wallet"}/>
<NavEntry title="Will" click={() => navigator("/will")} icon={willIcon} isSelected={window.location.pathname === "/will"}/>
<NavEntry title="inbox" click={() => navigator("/inbox")} icon={willIcon} isSelected={window.location.pathname === "/inbox"}/>
<NavEntry title="Inbox" click={() => navigator("/inbox")} icon={notificationIcon} isSelected={window.location.pathname === "/inbox"}/>
</div>
</div>
</>
Expand Down

0 comments on commit 7d83887

Please sign in to comment.