mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +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;
|
priorSongId.current = currentSong?._uniqueId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, [enabled, count, currentSong?._uniqueId, savePlayQueue, server.type]);
|
}, [enabled, count, currentSong?._uniqueId, savePlayQueue, server?.type]);
|
||||||
};
|
};
|
||||||
|
|
||||||
export const AutosaveHook = () => {
|
export const AutosaveHook = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user