multica/apps/web/app
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
..
components refactor(chat, hooks): simplify handleSend and update useDeviceId to use useSyncExternalStore 2026-01-30 23:38:10 +08:00
hooks refactor(chat, hooks): simplify handleSend and update useDeviceId to use useSyncExternalStore 2026-01-30 23:38:10 +08:00
lib feat(web): add @multica/sdk dependency and URL config module 2026-01-30 22:40:43 +08:00
icon.png feat(web): replace default Next.js branding with Multica icon 2026-01-30 22:31:41 +08:00
layout.tsx feat(web): wire Hub sidebar, real chat messaging, and layout integration 2026-01-30 22:41:03 +08:00
page.tsx refactor(web): move sidebar layout shell to layout.tsx 2026-01-30 21:09:06 +08:00