Skip to content

Commit

Permalink
Merge pull request #209 from AI4Bharat/fix
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
ishvindersethi22 authored Jan 1, 2025
2 parents 440b7aa + 49edca2 commit 5945664
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/app/ui/pages/chat/AnnotatePage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -722,8 +722,9 @@ console.log(output,"kk");
case "InstructionDrivenChat":
componentToRender = (
<InstructionDrivenChatPage
key={`annotations-${annotations?.length}-${new Date().getTime()}`}
handleClick={handleAnnotationClick}
key={`annotations-${annotations?.length}-${
annotations?.[0]?.id || "default"
}`} handleClick={handleAnnotationClick}
chatHistory={chatHistory}
setChatHistory={setChatHistory}
formatResponse={formatResponse}
Expand Down

0 comments on commit 5945664

Please sign in to comment.