Skip to content

Commit

Permalink
Fix start new chat
Browse files Browse the repository at this point in the history
  • Loading branch information
mic-smith committed Dec 5, 2024
1 parent 1033b62 commit 9188071
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/useMessages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export const useMessages = (): UseMessagesHook => {
await resetChat();
setWaiting(false);
setMessages([{ ...starterMessage, time: new Date().toLocaleTimeString() }]);
selectMessage(null);
setSuggestions([]);
fetchSuggestions();
}, []);
Expand Down

0 comments on commit 9188071

Please sign in to comment.