This commit is contained in:
Bill He 2024-01-18 12:21:47 -08:00
parent 56187f7a84
commit f6bf635b0d
No known key found for this signature in database
GPG Key ID: 73AEEF9D79E5BBF8

View File

@ -18,6 +18,7 @@ import { useDisplayedWallets } from '@/hooks/useDisplayedWallets';
import { breakpoints } from '@/styles';
import { layoutMixins } from '@/styles/layoutMixins';
import { usePrivy } from '@privy-io/react-auth';
export const ChooseWallet = () => {
const stringGetter = useStringGetter();
@ -26,6 +27,8 @@ export const ChooseWallet = () => {
const displayedWallets = useDisplayedWallets();
const { selectWalletType, selectedWalletType, selectedWalletError } = useAccounts();
const { ready, authenticated } = usePrivy();
return (
<>
@ -63,6 +66,14 @@ 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>