fix(web): prevent UI flash by preserving user state in fetchMe and removing CSS pulse
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user