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>); }, {} as Record<string, ComboButtonOption>);
setDownloadOptions(options); setDownloadOptions(options);
}); });
}, []); }, [gameId]);
useEffect(() => { useEffect(() => {
if (state.isLoaded && (!gameId || !state.state[parseInt(gameId)])) { if (state.isLoaded && (!gameId || !state.state[parseInt(gameId)])) {