nanochat/services/frontend/store
Manmohan Sharma 4369826043
fix: align conversation list response shape with chat-api
Frontend store was reading `data.conversations` and camelCase timestamps,
but chat-api returns `{items: [...]}` with snake_case `created_at`/`updated_at`.
Result: conversation history always rendered as empty after login.

Read `data.items` and snake_case timestamps in fetchConversations,
fetchMessages, and createConversation.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-25 11:49:54 -07:00
..
chatStore.ts fix: align conversation list response shape with chat-api 2026-04-25 11:49:54 -07:00