From 9ebefd06ce227a2bc93ba8b17dc88da4073eb990 Mon Sep 17 00:00:00 2001 From: depthlending Date: Wed, 11 Dec 2024 10:44:07 +0800 Subject: [PATCH] chore: fix some typos Signed-off-by: depthlending --- src/scripts/link-to-wallet.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/link-to-wallet.ts b/src/scripts/link-to-wallet.ts index de6529e5f68..658a6aae1bf 100644 --- a/src/scripts/link-to-wallet.ts +++ b/src/scripts/link-to-wallet.ts @@ -140,7 +140,7 @@ const switchToChain = async (chainId: string, ethereum: MetaMaskInpageProvider) method: "wallet_switchEthereumChain", params: [{ chainId }], }) - console.log(`Succesfully switched to chain ${chainId} in metamask`) + console.log(`Successfully switched to chain ${chainId} in metamask`) } /** @@ -199,7 +199,7 @@ const validateLinkAddress = async (address: string, provider: Web3Provider) => { symbol = await linkContract.symbol() decimals = await linkContract.decimals() } catch (error) { - throw new Error(`Error occured while trying to fetch linkContract metadata ${error}`) + throw new Error(`Error occurred while trying to fetch linkContract metadata ${error}`) } let chainId: keyof typeof linkNameSymbol