Skip to content

Commit 1f3f796

Browse files
committed
fix: add a fallback for connect wallet modal
1 parent c9f1ac1 commit 1f3f796

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

packages/react/src/modal/modal.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,16 @@ export const WalletModal = ({
173173
content: <ConnectingContent wallet={currentWallet} />,
174174
};
175175
}
176+
177+
return {
178+
header: <WalletListHeader close={close} />,
179+
content: (
180+
<WalletListContent
181+
onSelectWallet={onSelectWallet}
182+
wallets={wallets}
183+
/>
184+
),
185+
};
176186
}, [
177187
currentWallet,
178188
isConnected,

0 commit comments

Comments
 (0)