Skip to content

Commit

Permalink
fix: loss data hook deps
Browse files Browse the repository at this point in the history
  • Loading branch information
dmy147 committed Dec 20, 2024
1 parent 38b2035 commit d3e235f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/ui/views/Bridge/Component/BridgeShowMore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,15 @@ export const BridgeShowMore = ({
};
}
return tokenPriceImpact(fromToken, toToken, amount, toAmount);
}, [fromToken, toToken, amount, toAmount, quoteLoading]);
}, [
fromToken,
toToken,
amount,
toAmount,
quoteLoading,
sourceLogo,
sourceName,
]);

const bestQuoteStyle = useMemo(() => {
if (isBestQuote) {
Expand Down

0 comments on commit d3e235f

Please sign in to comment.