Fix download providers not updating on view navigation event

This commit is contained in:
Simon
2025-08-30 19:16:22 +02:00
committed by GitHub
parent 021d165fb1
commit 345bd6cd1e
+1 -1
View File
@@ -46,7 +46,7 @@ export default function GameView() {
}, {} as Record<string, ComboButtonOption>);
setDownloadOptions(options);
});
}, []);
}, [gameId]);
useEffect(() => {
if (state.isLoaded && (!gameId || !state.state[parseInt(gameId)])) {