import { ActiveRewardCard } from '../rewards-container/active-rewards'; import { useT } from '../../lib/use-t'; import { type EnrichedRewardTransfer } from '../../lib/hooks/use-rewards'; export const GamesContainer = ({ data, currentEpoch, }: { data: EnrichedRewardTransfer[]; currentEpoch: number; }) => { const t = useT(); if (!data || data.length === 0) { return (
{t('Currently no active games on the network.')}
); } return (