import MedalIcon from '@components/icons/MedalIcon' import ProfileImage from '@components/profile/ProfileImage' import SheenLoader from '@components/shared/SheenLoader' import { ChevronRightIcon } from '@heroicons/react/20/solid' import { useViewport } from 'hooks/useViewport' import { formatCurrencyValue } from 'utils/numbers' import { breakpoints } from 'utils/theme' import { LeaderboardRes } from './LeaderboardPage' const LeaderboardTable = ({ data, loading, }: { data: LeaderboardRes[] loading: boolean }) => { return ( <> {/*
{t('rank')}
{t('trader')}
{t('pnl')}
{rank}
{rank < 4 ?{profile_name || wallet_pk.slice(0, 4) + '...' + wallet_pk.slice(-4)}
Acc: {mango_account.slice(0, 4) + '...' + mango_account.slice(-4)}