Skip to content

Commit

Permalink
Fix token transfers table on tablet
Browse files Browse the repository at this point in the history
  • Loading branch information
csillag committed Feb 23, 2024
1 parent 2c2b9aa commit d5cb70e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/Tokens/TokenTransfers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export const TokenTransfers: FC<TokenTransfersProps> = ({
ownAddress,
}) => {
const { t } = useTranslation()
const { isMobile } = useScreenSize()
const { isTablet } = useScreenSize()
const tableColumns: TableColProps[] = [
{ key: 'hash', content: t('common.hash') },
{ key: 'block', content: t('common.block') },
Expand All @@ -139,7 +139,7 @@ export const TokenTransfers: FC<TokenTransfersProps> = ({
content: (
<TransactionLink
scope={transfer}
alwaysTrim={isMobile}
alwaysTrim={isTablet}
hash={transfer.eth_tx_hash || transfer.tx_hash!}
/>
),
Expand Down

0 comments on commit d5cb70e

Please sign in to comment.