remove debugs
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user