From 9d854131dbbe26bf596b5c04ebd0f5e03bc1d253 Mon Sep 17 00:00:00 2001 From: Pedro Rezende Date: Mon, 30 Dec 2024 15:56:52 -0300 Subject: [PATCH] feat: re-enable wallet popup (#1455) --- apps/namadillo/src/App/Transfer/TransferModule.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/namadillo/src/App/Transfer/TransferModule.tsx b/apps/namadillo/src/App/Transfer/TransferModule.tsx index 47dbe9ee4..c3171ed55 100644 --- a/apps/namadillo/src/App/Transfer/TransferModule.tsx +++ b/apps/namadillo/src/App/Transfer/TransferModule.tsx @@ -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 => {