From d9705f71a5011b1d7ae5c020e402de19786de075 Mon Sep 17 00:00:00 2001 From: Suraj Mahto Date: Thu, 4 Jul 2024 12:22:19 +0530 Subject: [PATCH] feat: navbar fixed --- src/components/ui/navbar.tsx | 47 +++++++++++++++++++----------------- 1 file changed, 25 insertions(+), 22 deletions(-) diff --git a/src/components/ui/navbar.tsx b/src/components/ui/navbar.tsx index a288ca0..8f34110 100644 --- a/src/components/ui/navbar.tsx +++ b/src/components/ui/navbar.tsx @@ -35,30 +35,33 @@ export const Navbar = () => { }, ] - const Notification =()=>{ - if(!account.address){ - toast.warning("Currently works with Metamask and Coinbase Wallet Extension. We are working on Smart Wallet functionality.",{ - position: 'top-left', + const Notification = () => { + if (!account.address) { + toast.warning("Currently works with Metamask and Coinbase Wallet Extension. We are working on Smart Wallet functionality.", { + position: 'top-left', + } + ) } - ) } -} - + return ( - - - - - {navlinks.map((link, index) => ( - - {link.title} - - ))} - - {/* */} - - + <> + + + + + {navlinks.map((link, index) => ( + + {link.title} + + ))} +
Notification()}> + +
+ {/* */} +
+
+ + ) }