mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-27 21:08:00 +00:00
- Added Redux Toolkit for managing authentication state, replacing Zustand for token handling. - Implemented authSlice for token management, including setting and clearing tokens with localStorage synchronization. - Refactored components (Login, Home, TelegramLoginButton) to utilize Redux for token management, enhancing state consistency. - Updated App component to include Redux Provider and PersistGate for state persistence. - Removed Zustand-based authStore and socketStore, streamlining the state management approach. These changes improve the application's architecture by centralizing state management with Redux, enhancing maintainability and scalability.