hero-panel show HeroPanelPlaytime

This commit is contained in:
Zamitto 2024-06-05 21:33:27 -03:00
parent de178d672e
commit 95a7922806

View file

@ -35,7 +35,7 @@ export function HeroPanel() {
const getInfo = () => { const getInfo = () => {
if (isGameDeleting(game?.id ?? -1)) return <p>{t("deleting")}</p>; if (isGameDeleting(game?.id ?? -1)) return <p>{t("deleting")}</p>;
if (game?.progress === 1 || game?.playTimeInMilliseconds) if (game && (game.progress === 1 || !game.status))
return <HeroPanelPlaytime />; return <HeroPanelPlaytime />;
if (game?.status === "active") { if (game?.status === "active") {