remove debugs

This commit is contained in:
Bill He
2024-01-18 12:36:10 -08:00
parent d781cb3199
commit 750fb077f5
2 changed files with 1 additions and 10 deletions
+1 -2
View File
@@ -119,8 +119,7 @@ export const useWalletConnection = () => {
throw new Error('Onboarding: No wallet connection found.');
} else if (walletConnection.type === WalletConnectionType.Privy) {
console.log({ isConnectedWagmi, authenticated, ready });
if (!isConnectedWagmi && !authenticated) {
if (!isConnectedWagmi && !authenticated && ready) {
login();
}
} else if (walletConnection.type === WalletConnectionType.CosmosSigner) {
@@ -66,14 +66,6 @@ export const ChooseWallet = () => {
</div>
</Styled.WalletButton>
))}
<Styled.WalletButton
action={ButtonAction.Base}
key={'debug'}
onClick={() => console.log({ authenticated, ready })}
size={ButtonSize.Small}
>
Debug
</Styled.WalletButton>
</Styled.Wallets>
<Styled.Footer>