fix: fix build errors

This commit is contained in:
jinhojang6 2024-10-22 23:09:49 +09:00
parent ea73edcf21
commit d03ae125d2
No known key found for this signature in database
GPG Key ID: 1762F21FE8B543F8

View File

@ -94,7 +94,11 @@ const Dropdown: React.FC = () => {
{walletAddress == null ? (
options.map((option, index) => (
<WalletName
onClick={() => connectWallet(option.value)}
onClick={() =>
connectWallet(
option.value as keyof typeof walletHandlers,
)
}
key={'wallet-' + index}
>
{option.label}