Skip to content

Commit

Permalink
remove explicit any
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaut committed Nov 25, 2024
1 parent a523dde commit b8a577f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/lib/components/TransactionCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
method: 'wallet_switchEthereumChain',
params: [{ chainId: toHex(quoteRecord.sourceChain) }]
});
} catch (error: any) {
} catch (error) {
if (error.code === 4902) {
await $selectedProvider.provider.request({
method: 'wallet_addEthereumChain',
Expand Down

0 comments on commit b8a577f

Please sign in to comment.