Skip to content

Commit 91496a0

Browse files
committed
Fetch price fee when the network changes
1 parent b86453d commit 91496a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/contexts/PriceFeeProvider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export const PriceFeeProvider = ({ children }) => {
153153
// setGasPrice(null)
154154
setErrorMessage(trimErrorMessage(error.message))
155155
})
156-
}, [blockNumber])
156+
}, [blockNumber, networksAndSigners])
157157

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

0 commit comments

Comments
 (0)