mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-02 16:23:48 +03:00
fix: unsetting game details when switching pages
This commit is contained in:
parent
016c511cec
commit
863f85f45d
@ -92,6 +92,7 @@ export function GameDetails() {
|
||||
}, [getGame, gameDownloading?.id]);
|
||||
|
||||
useEffect(() => {
|
||||
setGameDetails(null);
|
||||
setGame(null);
|
||||
setIsLoading(true);
|
||||
setIsGamePlaying(false);
|
||||
|
Loading…
Reference in New Issue
Block a user