diff --git a/pages/mint.js b/pages/mint.js index 704a2cd..dcce24b 100644 --- a/pages/mint.js +++ b/pages/mint.js @@ -58,8 +58,7 @@ const Mint = () => { const [successpop, setsuccesspop] = useState(false); const { account, connected, network, signMessage} = useWallet(); - - + const getAptosWallet = () => { if ("aptos" in window) { return window.aptos; @@ -240,7 +239,7 @@ Exceptional Value for Unmatched Security
) : ( <> - {!connected ? ( + {!isSignedIn ? (
{!connected && ( @@ -248,9 +247,9 @@ Exceptional Value for Unmatched Security
)} - {/* {connected && ( + {connected && ( - )} */} + )} ): (