mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-09 03:37:45 +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]);
|
}, [getGame, gameDownloading?.id]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
setGameDetails(null);
|
||||||
setGame(null);
|
setGame(null);
|
||||||
setIsLoading(true);
|
setIsLoading(true);
|
||||||
setIsGamePlaying(false);
|
setIsGamePlaying(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user