Skip to content

Commit

Permalink
FS-96 Clear input on new chat (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
mic-smith authored Nov 19, 2024
1 parent 5cc7f86 commit ac8e5c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const App = () => {
<NavBar startNewConversation={resetMessages} />
<Chat messages={messages} waiting={waiting} />
<Input
key={messages?.[0]?.time}
sendMessage={sendMessage}
waiting={waiting}
suggestions={suggestions}
Expand Down

0 comments on commit ac8e5c4

Please sign in to comment.