File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
packages/nextjs/components Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ export const HeaderMenuLinks = () => {
4040 useEffect ( ( ) => {
4141 setIsDark ( theme === "dark" ) ;
4242 } , [ theme ] ) ;
43+
4344 return (
4445 < >
4546 { menuLinks . map ( ( { label, href, icon } ) => {
@@ -146,13 +147,13 @@ export const Header = () => {
146147 </ ul >
147148 </ div >
148149 < div className = "navbar-end flex-grow mr-4 gap-4" >
149- { ! isDeployed ? (
150+ { /* Verificar si está conectado y no desplegado */ }
151+ { status === "connected" && ! isDeployed ? (
150152 < span className = "bg-[#8a45fc] text-[9px] p-1 text-white" >
151153 Wallet Not Deployed
152154 </ span >
153155 ) : null }
154156 < CustomConnectButton />
155- { /* <FaucetButton /> */ }
156157 < SwitchTheme
157158 className = { `pointer-events-auto ${
158159 isLocalNetwork ? "self-end md:self-auto" : ""
You can’t perform that action at this time.
0 commit comments