handle Navidrome login loop error

This commit is contained in:
Kendall Garner 2025-06-26 21:14:20 -07:00
parent bdc372636b
commit fb584b35a9
No known key found for this signature in database
GPG key ID: 9355F387FE765C94
3 changed files with 44 additions and 23 deletions

View file

@ -19,6 +19,8 @@ export const AppOutlet = () => {
const setFallback = useSetPlayerFallback();
const authState = useServerAuthenticated();
console.log(authState);
const isActionsRequired = useMemo(() => {
const isServerRequired = !currentServer;
@ -55,6 +57,7 @@ export const AppOutlet = () => {
}
if (isActionsRequired || authState === AuthState.INVALID) {
console.log('required', isActionsRequired);
return (
<Navigate
replace