diff --git a/contracts/src/bridge/frontend/src/stores/wallet-store.ts b/contracts/src/bridge/frontend/src/stores/wallet-store.ts index 53ee3e9202..9757e78f28 100644 --- a/contracts/src/bridge/frontend/src/stores/wallet-store.ts +++ b/contracts/src/bridge/frontend/src/stores/wallet-store.ts @@ -40,6 +40,7 @@ const useWalletStore = create((set, get) => ({ const newSigner = initializeSigner(detectedProvider); + // @ts-ignore const chainId = await detectedProvider?.request({ method: requestMethods.getChainId, params: [], @@ -62,6 +63,7 @@ const useWalletStore = create((set, get) => ({ connectWallet: async () => { try { const detectedProvider = await getEthereumProvider(); + // @ts-ignore const accounts = await detectedProvider?.request({ method: requestMethods.connectAccounts, params: [],