Skip to content

Commit

Permalink
Merge pull request #1379 from scroll-tech/sepolia
Browse files Browse the repository at this point in the history
Fetch price fee when the network changes
  • Loading branch information
zzq0826 authored Dec 30, 2024
2 parents b86453d + 91496a0 commit 4f43639
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 4f43639

Please sign in to comment.