@orderly.network/ui-transfer 2.10.2 → 3.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2482,6 +2482,9 @@ var useSwapTokens = (chainId, enableSwapDeposit) => {
2482
2482
  logo_uri: item.logoURI
2483
2483
  }));
2484
2484
  }, [data]);
2485
+ if (!enableSwapDeposit) {
2486
+ return [];
2487
+ }
2485
2488
  return tokens;
2486
2489
  };
2487
2490