Skip to content

Commit

Permalink
Fetch price fee when the network changes
Browse files Browse the repository at this point in the history
  • Loading branch information
zzq0826 committed Dec 30, 2024
1 parent b86453d commit 91496a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contexts/PriceFeeProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export const PriceFeeProvider = ({ children }) => {
// setGasPrice(null)
setErrorMessage(trimErrorMessage(error.message))
})
}, [blockNumber])
}, [blockNumber, networksAndSigners])

const l1Token = useMemo(
() => tokenList.find(item => item.chainId === CHAIN_ID.L1 && item.symbol === tokenSymbol) ?? ({} as any as Token),
Expand Down

0 comments on commit 91496a0

Please sign in to comment.