wacrm/src/app
Arnas Donauskas 5467c3e1e3
fix(inbox): re-clicking active conversation no longer clears messages
Selecting the already-active conversation called setMessages([]) but the
fetch effect in MessageThread only re-runs when conversationId changes,
so messages stayed empty until the user left the page and came back.
Bail out of handleSelectConversation when the clicked conversation is
already active.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-16 22:11:57 +03:00
..
(auth) Initial scaffold: WhatsApp CRM with Next.js + Supabase 2026-04-16 18:17:31 +03:00
(dashboard) fix(inbox): re-clicking active conversation no longer clears messages 2026-04-16 22:11:57 +03:00
api/whatsapp refactor: Meta API helpers use named params (prevents swapped-args bugs) 2026-04-16 21:52:25 +03:00
favicon.ico Initial commit from Create Next App 2026-04-16 17:52:39 +03:00
globals.css Initial scaffold: WhatsApp CRM with Next.js + Supabase 2026-04-16 18:17:31 +03:00
layout.tsx Initial scaffold: WhatsApp CRM with Next.js + Supabase 2026-04-16 18:17:31 +03:00
page.tsx Initial scaffold: WhatsApp CRM with Next.js + Supabase 2026-04-16 18:17:31 +03:00