From 192008c76ccf9501698c24910acda8f3283bb974 Mon Sep 17 00:00:00 2001 From: Zamitto <167933696+zamitto@users.noreply.github.com> Date: Mon, 16 Sep 2024 12:56:29 -0300 Subject: [PATCH] fix: not showing repacks and stats if game details request fails --- src/renderer/src/context/game-details/game-details.context.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 9e36a5ea..e723779f 100644 --- a/src/renderer/src/context/game-details/game-details.context.tsx +++ b/src/renderer/src/context/game-details/game-details.context.tsx @@ -105,7 +105,7 @@ export function GameDetailsContextProvider({ setShopDetails(appDetailsResult.value); if ( - appDetailsResult.value!.content_descriptors.ids.includes( + appDetailsResult.value?.content_descriptors.ids.includes( SteamContentDescriptor.AdultOnlySexualContent ) ) {