Skip to content

Commit d790a13

Browse files
committed
Fix walletconnect modal
1 parent 4c6d1db commit d790a13

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

apps/evmcrispr-terminal/src/components/SelectWalletModal/WalletConnectCode.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default function WalletConnectCode({
2323
<>
2424
<QRCodeSVG
2525
value={wcUri}
26-
size={300}
26+
size={400}
2727
bgColor="black"
2828
fgColor={green[300]}
2929
marginSize={8}

apps/evmcrispr-terminal/src/components/SelectWalletModal/index.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,10 @@ function WalletList({
119119
<WalletButton
120120
name="WalletConnect"
121121
leftIcon={<WalletIcon />}
122-
onClick={() => setSelectedWallet("walletConnect")}
122+
onClick={() => {
123+
setSelectedWallet("walletConnect");
124+
walletConnectConnector.connect();
125+
}}
123126
/>
124127
)}
125128
<WalletButton

0 commit comments

Comments
 (0)