From d03ae125d298b5950a484958be7aedcdcbe6fe70 Mon Sep 17 00:00:00 2001 From: jinhojang6 Date: Tue, 22 Oct 2024 23:09:49 +0900 Subject: [PATCH] fix: fix build errors --- src/components/WalletConnect/WalletConnect.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/WalletConnect/WalletConnect.tsx b/src/components/WalletConnect/WalletConnect.tsx index a8c9163e49..a6b9ece0a0 100644 --- a/src/components/WalletConnect/WalletConnect.tsx +++ b/src/components/WalletConnect/WalletConnect.tsx @@ -94,7 +94,11 @@ const Dropdown: React.FC = () => { {walletAddress == null ? ( options.map((option, index) => ( connectWallet(option.value)} + onClick={() => + connectWallet( + option.value as keyof typeof walletHandlers, + ) + } key={'wallet-' + index} > {option.label}