Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
marxeille committed Aug 30, 2024
1 parent 4af7c2b commit 9869cca
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/mobile/src/screens/universal-swap/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ const useFee = ({
simulateData && simulateData.displayAmount ? simulateData.displayAmount : 0;

useEffect(() => {
console.log("get here");

const bridgeTokenFee =
simulateDisplayAmount && (fromTokenFee || toTokenFee)
? new BigDecimal(
Expand All @@ -133,7 +131,7 @@ const useFee = ({
.add(estSwapFee)
.toNumber() || 0;
setTotalFee(totalFeeEst);
}, [simulateDisplayAmount, fromTokenFee, toTokenFee]);
}, [simulateDisplayAmount, fromTokenFee, toTokenFee, fee, relayerFeeAmount]);

return {
usdPriceShowFrom,
Expand Down

0 comments on commit 9869cca

Please sign in to comment.