We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1e23ec commit 5397fdaCopy full SHA for 5397fda
wormhole-connect/src/views/Bridge/Bridge.tsx
@@ -310,20 +310,12 @@ function Bridge() {
310
311
<TransferLimitedWarning fromChain={fromChain} token={token} />
312
{route && isNTTRoute(route) && toChain && fromChain && (
313
- <>
314
- <NTTCapacityWarning
315
- token={token}
316
- amount={amount}
317
- chain={fromChain}
318
- fromChain={fromChain}
319
- />
320
321
- token={destToken}
322
- amount={receiveAmount.data || '0'}
323
- chain={toChain}
324
325
326
- </>
+ <NTTCapacityWarning
+ token={destToken}
+ amount={receiveAmount.data || '0'}
+ chain={toChain}
+ fromChain={fromChain}
+ />
327
)}
328
<Send valid={!!valid} />
329
</div>
0 commit comments