diff --git a/src/renderer/src/context/game-details/game-details.context.tsx b/src/renderer/src/context/game-details/game-details.context.tsx index fc4033d2..a317f8d3 100644 --- a/src/renderer/src/context/game-details/game-details.context.tsx +++ b/src/renderer/src/context/game-details/game-details.context.tsx @@ -79,7 +79,7 @@ export function GameDetailsContextProvider({ const [stats, setStats] = useState(null); - const [isLoading, setIsLoading] = useState(false); + const [isLoading, setIsLoading] = useState(true); const [gameColor, setGameColor] = useState(""); const [isGameRunning, setIsGameRunning] = useState(false); const [showRepacksModal, setShowRepacksModal] = useState(false); @@ -137,6 +137,7 @@ export function GameDetailsContextProvider({ } }) .finally(() => { + if (abortController.signal.aborted) return; setIsLoading(false); });