diff --git a/providers/PlaybackProvider.tsx b/providers/PlaybackProvider.tsx index 935c1480..1f2c3bdd 100644 --- a/providers/PlaybackProvider.tsx +++ b/providers/PlaybackProvider.tsx @@ -179,7 +179,7 @@ export const PlaybackProvider: React.FC<{ children: ReactNode }> = ({ }, []); useEffect(() => { - if (!deviceId || !api || !user) return; + if (!deviceId || !api?.accessToken) return; const url = `wss://${api?.basePath .replace("https://", "")