Skip to content

Commit 9ec3cf0

Browse files
depthlendingkhadni
andauthored
chore: fix some typos (#2209)
Signed-off-by: depthlending <bikangning@outlook.com> Co-authored-by: Karim H. <98668332+khadni@users.noreply.github.com>
1 parent 38fcf46 commit 9ec3cf0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/scripts/link-to-wallet.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ const switchToChain = async (chainId: string, ethereum: MetaMaskInpageProvider)
140140
method: "wallet_switchEthereumChain",
141141
params: [{ chainId }],
142142
})
143-
console.log(`Succesfully switched to chain ${chainId} in metamask`)
143+
console.log(`Successfully switched to chain ${chainId} in metamask`)
144144
}
145145

146146
/**
@@ -199,7 +199,7 @@ const validateLinkAddress = async (address: string, provider: Web3Provider) => {
199199
symbol = await linkContract.symbol()
200200
decimals = await linkContract.decimals()
201201
} catch (error) {
202-
throw new Error(`Error occured while trying to fetch linkContract metadata ${error}`)
202+
throw new Error(`Error occurred while trying to fetch linkContract metadata ${error}`)
203203
}
204204

205205
let chainId: keyof typeof linkNameSymbol

0 commit comments

Comments
 (0)