Skip to content

Commit

Permalink
hotfix to show native token text on tooltip in swap box (#2530)
Browse files Browse the repository at this point in the history
  • Loading branch information
tienkane authored Sep 6, 2024
1 parent 7b1af6c commit c9041f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/CurrencyInputPanel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ export default function CurrencyInputPanel({
</RowFixed>
{!!nativeCurrency && !isMobile && !upToMedium && (
<MouseoverTooltip
text={nativeCurrency?.wrapped.address}
text={nativeCurrency?.isNative ? 'Native token' : nativeCurrency?.wrapped.address}
delay={200}
placement="top"
width="fit-content"
Expand Down

0 comments on commit c9041f3

Please sign in to comment.