Skip to content

Commit

Permalink
fix issue (#414)
Browse files Browse the repository at this point in the history
  • Loading branch information
WuBruno authored Feb 7, 2024
1 parent 12806f5 commit 7843aa5
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions products/bridge/bridge-web/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,14 +139,7 @@ function App() {
],
functionName: "transfer",
value: fees ?? 0n,
enabled: !!(
toChainConfig &&
fromChainConfig &&
!fromChainConfig.isZilliqa &&
ethRecipient &&
amount &&
decimals
),
enabled: hasEnoughAllowance,
});

const { writeAsync: bridge, isLoading: isLoadingBridge } =
Expand Down

0 comments on commit 7843aa5

Please sign in to comment.