fix(web): prevent UI flash by preserving user state in fetchMe and removing CSS pulse

This commit is contained in:
2026-07-27 12:06:28 -04:00
parent 410b7a4d6b
commit df2a992fa7
3 changed files with 5 additions and 4 deletions
-1
View File
@@ -125,7 +125,6 @@ export const useWebSocketStore = create<WebSocketState>((set, get) => ({
if (data.type === 'error') {
console.error('ws error:', data);
useAuthStore.getState().fetchMe();
socket.close();
return;
}