multica/apps
Naiyuan Qing 716bbceaf4 refactor(chat, hooks): simplify handleSend and update useDeviceId to use useSyncExternalStore
- Simplified handleSend function in Chat component by removing unnecessary useCallback.
- Refactored useDeviceId hook to utilize useSyncExternalStore for better state management and removed useState and useEffect for device ID retrieval.
- Updated useGateway hook to ensure onMessageRef is set correctly on options change.
- Enhanced useScrollFade hook to properly cancel animation frames on cleanup.
2026-01-30 23:38:10 +08:00
..
desktop chore(desktop): clean up build artifacts and unused code 2026-01-30 11:34:09 +08:00
web refactor(chat, hooks): simplify handleSend and update useDeviceId to use useSyncExternalStore 2026-01-30 23:38:10 +08:00