Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
OGPoyraz committed Jun 12, 2024
1 parent 6a4d7c6 commit 0f2adf9
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ import { hexToDecimal } from '../../../../../shared/modules/conversion.utils';
import { TokenStandard } from '../../../../../shared/constants/transaction';
import Tooltip from '../../../../components/ui/tooltip';
import { getIntlLocale } from '../../../../ducks/locale/locale';
import { shortenAddress as shortenAssetId } from '../../../../helpers/utils/util';
import { AssetIdentifier } from './types';
import { formatAmount, formatAmountMaxPrecision } from './formatAmount';
import { shortenAddress as shortenAssetId } from '../../../../helpers/utils/util';

/**
* Displays a pill with an amount and a background color indicating whether the amount
Expand Down Expand Up @@ -59,9 +59,9 @@ export const AmountPill: React.FC<{

const shortenedTokenIdPart = `#${shortenedDecimalTokenId}`;
const tooltipIdPart = `#${
shortenedDecimalTokenId !== decimalTokenId
? decimalTokenId
: shortenedDecimalTokenId
shortenedDecimalTokenId === decimalTokenId
? shortenedDecimalTokenId
: decimalTokenId
}`;

amountParts.push(shortenedTokenIdPart);
Expand Down

0 comments on commit 0f2adf9

Please sign in to comment.