Skip to content

Commit

Permalink
feat: re-enable wallet popup (#1455)
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrorezende authored Dec 30, 2024
1 parent bfcf1c7 commit 9d85413
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions apps/namadillo/src/App/Transfer/TransferModule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,7 @@ export const TransferModule = ({
return;
}

// Don't need to show the modal, connects directly
if (!config.walletAddress && config.availableWallets.length === 1) {
config.onChangeWallet(config.availableWallets[0]);
return;
}
setWalletSelectorModalOpen(true);
};

const getButtonText = (): string => {
Expand Down

1 comment on commit 9d85413

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.