Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gambinish committed Sep 21, 2024
1 parent 3e0ba18 commit dcb236d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const AssetListControlBar = ({
const nativeTokenWithBalance = useNativeTokenBalance();

useEffect(() => {
// this swap is needed when toggling primary currency type for native token in order to sort by fiat amounts only
// this swap is needed when toggling primary currency type for native token in order to sort by tokenFiatAmount only
if (useNativeCurrencyAsPrimaryCurrency) {
[nativeTokenWithBalance.string, nativeTokenWithBalance.tokenFiatAmount] =
[nativeTokenWithBalance.tokenFiatAmount, nativeTokenWithBalance.string];
Expand Down

0 comments on commit dcb236d

Please sign in to comment.