mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-16 16:20:04 +00:00
Fix download providers not updating on view navigation event
This commit is contained in:
@@ -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)])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user