import { ActiveRewardCard } from '../rewards-container/active-rewards'; import { useT } from '../../lib/use-t'; import { type EnrichedTransfer } from '../../lib/hooks/use-game-cards'; import { useMarketsMapProvider } from '@vegaprotocol/markets'; export const GamesContainer = ({ data, currentEpoch, }: { data: EnrichedTransfer[]; currentEpoch: number; }) => { const t = useT(); const { data: markets } = useMarketsMapProvider(); if (!data || data.length === 0) { return (
{t('There are currently no games available.')}
); } return (