We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 387f81d commit 7ca1788Copy full SHA for 7ca1788
packages/ui/src/hooks/useGasTopUpRequired.ts
@@ -24,11 +24,12 @@ export default (
24
address !== undefined &&
25
chain !== undefined &&
26
chain?.currency?.address !== undefined &&
27
- chain?.currency?.supportsBridging &&
28
- chain?.vmType === 'evm' &&
29
chain.id !== fromChain?.id &&
30
chain.id !== 169 &&
31
- isErc20Currency
+ chain?.vmType === 'evm' &&
+ isErc20Currency &&
+ (chain?.currency?.supportsBridging || chain?.tokenSupport === 'All')
32
+
33
const { value: gasBalance } = useCurrencyBalance({
34
chain,
35
address,
0 commit comments