mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
fix(autosave): server isn't guaranteed to exist
This commit is contained in:
@@ -25,7 +25,7 @@ export const useAutosave = () => {
|
||||
priorSongId.current = currentSong?._uniqueId;
|
||||
}
|
||||
}
|
||||
}, [enabled, count, currentSong?._uniqueId, savePlayQueue, server.type]);
|
||||
}, [enabled, count, currentSong?._uniqueId, savePlayQueue, server?.type]);
|
||||
};
|
||||
|
||||
export const AutosaveHook = () => {
|
||||
|
||||
Reference in New Issue
Block a user