diff --git a/app/page.tsx b/app/page.tsx index 830b464..72fa34a 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -59,6 +59,8 @@ export default function Home() { document.documentElement.setAttribute('data-theme', s.theme || 'light'); document.documentElement.setAttribute('data-font', s.font_size || 'medium'); }).catch(console.error); + // Clear stale persisted conversations then fetch fresh + setConversations([]); api.getConversations().then(setConversations).catch(console.error); }, []);