import {Link} from 'react-router-dom'; import {useTranslation} from 'react-i18next'; import {ArrowRight, Gamepad2} from 'lucide-react'; import {Button} from '@/components/ui/button'; import {Card} from '@/components/ui/card'; import GameCover from './GameCover.jsx'; import {formatPlaytime} from '../utils/games.js'; export default function CurrentlyPlayingCard({games, syncing}) { const {t} = useTranslation(); return (

{t('DASHBOARD.CURRENTLY_PLAYING')}

{games.length === 0 ? (

{syncing ? t('LIBRARY.SYNCING_FIRST_TIME') : t('DASHBOARD.NOTHING_PLAYING')}

) : ( )}
); }