From d790a13d73067218217388e95355165de3ad2256 Mon Sep 17 00:00:00 2001
From: Sem <931684+sembrestels@users.noreply.github.com>
Date: Tue, 15 Oct 2024 17:16:18 +0700
Subject: [PATCH] Fix walletconnect modal
---
.../src/components/SelectWalletModal/WalletConnectCode.tsx | 2 +-
.../src/components/SelectWalletModal/index.tsx | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/apps/evmcrispr-terminal/src/components/SelectWalletModal/WalletConnectCode.tsx b/apps/evmcrispr-terminal/src/components/SelectWalletModal/WalletConnectCode.tsx
index bbfd01e..60d194b 100644
--- a/apps/evmcrispr-terminal/src/components/SelectWalletModal/WalletConnectCode.tsx
+++ b/apps/evmcrispr-terminal/src/components/SelectWalletModal/WalletConnectCode.tsx
@@ -23,7 +23,7 @@ export default function WalletConnectCode({
<>
}
- onClick={() => setSelectedWallet("walletConnect")}
+ onClick={() => {
+ setSelectedWallet("walletConnect");
+ walletConnectConnector.connect();
+ }}
/>
)}