diff --git a/frontend/src/useMessages.ts b/frontend/src/useMessages.ts index 89afc4f5..32ecfbf8 100644 --- a/frontend/src/useMessages.ts +++ b/frontend/src/useMessages.ts @@ -91,6 +91,7 @@ export const useMessages = (): UseMessagesHook => { await resetChat(); setWaiting(false); setMessages([{ ...starterMessage, time: new Date().toLocaleTimeString() }]); + selectMessage(null); setSuggestions([]); fetchSuggestions(); }, []);