Skip to content

Commit f85dc5c

Browse files
committed
fix: prettier formatting
1 parent c0e2316 commit f85dc5c

3 files changed

Lines changed: 3 additions & 7 deletions

File tree

src/app/tokens/useTokens.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,7 @@ export const useSuspenseTokens = (
3737
);
3838

3939
const shouldAddPinnedTokens = useMemo(() => !debouncedSearchTerm, [debouncedSearchTerm]); // Only add pinned tokens if no search term is provided. If they are searched, they will be added by default. If a search term that is not a pinned token is provided, they should not be added.
40-
const sbtcResponse = useFtTokens(
41-
{ address: sbtcContractId },
42-
{ enabled: shouldAddPinnedTokens }
43-
);
40+
const sbtcResponse = useFtTokens({ address: sbtcContractId }, { enabled: shouldAddPinnedTokens });
4441
const usdcxResponse = useFtTokens(
4542
{ address: usdcxContractAddress },
4643
{ enabled: shouldAddPinnedTokens }

src/app/tokens/utils.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ export const isSBTC = (contractId: string) => {
2222
return false;
2323
}
2424
return (
25-
contractId === SBTC_TOKEN_CONTRACT_ID_MAINNET ||
26-
contractId === SBTC_TOKEN_CONTRACT_ID_TESTNET
25+
contractId === SBTC_TOKEN_CONTRACT_ID_MAINNET || contractId === SBTC_TOKEN_CONTRACT_ID_TESTNET
2726
);
2827
};
2928

src/app/txid/[txId]/redesign/tx-summary/TokensTransferred.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { SBTC_DECIMALS } from '@/app/token/[tokenId]/consts';
2-
import { useSbtcTokenAssetId } from '@/common/utils/fungible-token-utils';
32
import { AddressLink, TokenLink } from '@/common/components/ExplorerLinks';
43
import { useFtMetadata } from '@/common/queries/useFtMetadata';
4+
import { useSbtcTokenAssetId } from '@/common/utils/fungible-token-utils';
55
import { ftDecimals, getAssetNameParts, truncateMiddle } from '@/common/utils/utils';
66
import { Flex, Text } from '@chakra-ui/react';
77
import { FC } from 'react';

0 commit comments

Comments
 (0)