Skip to content

Commit

Permalink
fix: unexpected QRCode after disconnect #457
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkasany committed Jan 5, 2024
1 parent d485779 commit ad3aae6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/web3/src/connect-modal/components/ModalPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const ModalPanel: React.FC<ModalPanelProps> = (props) => {
(wallet: Wallet | undefined, triggerConnect?: boolean) => {
setSelectedWallet(wallet);
if (wallet && triggerConnect) {
setPanelRoute('init');
onWalletSelected?.(wallet);
}
},
Expand Down

0 comments on commit ad3aae6

Please sign in to comment.