From 47ab35421c5fc720ef26010b801d49e5fc5bdd3f Mon Sep 17 00:00:00 2001 From: Chubby Granny Chaser Date: Thu, 27 Jun 2024 14:57:25 +0100 Subject: [PATCH] feat: adding libtorrent again --- .../src/pages/game-details/hero/hero-panel-playtime.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/pages/game-details/hero/hero-panel-playtime.tsx b/src/renderer/src/pages/game-details/hero/hero-panel-playtime.tsx index 0b8fa89d..6a0d2f93 100644 --- a/src/renderer/src/pages/game-details/hero/hero-panel-playtime.tsx +++ b/src/renderer/src/pages/game-details/hero/hero-panel-playtime.tsx @@ -54,7 +54,7 @@ export function HeroPanelPlaytime() { if (!game) return null; const hasDownload = - ["active", "paused"].includes(game.status) && game.progress !== 1; + ["active", "paused"].includes(game.status as string) && game.progress !== 1; const isGameDownloading = game.status === "active" && lastPacket?.game.id === game.id;