diff --git a/frontend/src/contexts/AuthContext.tsx b/frontend/src/contexts/AuthContext.tsx index 009cfb2..ff369e1 100644 --- a/frontend/src/contexts/AuthContext.tsx +++ b/frontend/src/contexts/AuthContext.tsx @@ -67,7 +67,7 @@ export function AuthProvider({ children }: { children: ReactElement }) { name: data.user.username, }); setJwt(localToken!); - channel.setAuthCreds(data.token, data.user.id); + channel.setAuthCreds(localToken!, data.user.id); channel.startPolling(); } } catch (e) {