pods-sdk 0.2.71 → 0.2.72

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.cjs.js CHANGED
@@ -31877,7 +31877,7 @@ const SwapFlow = ({
31877
31877
  autoFocus: true
31878
31878
  }), jsxRuntime.jsx(ChooseAnAssetSwapActionsheet, {
31879
31879
  actionSheetId: "swap-to-token",
31880
- chainId: formValues.toChainId || formValues.fromChainId,
31880
+ chainId: formValues.toTokenAddress ? formValues.toChainId : formValues.fromChainId,
31881
31881
  onAssetSelected: token => handleAssetSelected('to', token),
31882
31882
  autoFocus: true
31883
31883
  }), jsxRuntime.jsx(ChooseANetworkActionsheet, {
@@ -31903,7 +31903,7 @@ const SwapFlow = ({
31903
31903
  isOpen: isToNetworkAndAssetOpen,
31904
31904
  onClose: () => setIsToNetworkAndAssetOpen(false),
31905
31905
  networks: networkOptions,
31906
- currentChainId: formValues.toChainId || formValues.fromChainId,
31906
+ currentChainId: formValues.toTokenAddress ? formValues.toChainId : formValues.fromChainId,
31907
31907
  onNetworkSelected: chainId => handleNetworkSelected('to', chainId),
31908
31908
  onAssetSelected: token => handleAssetSelected('to', token),
31909
31909
  autoFocus: true,