Skip to content

Commit 2f7fe08

Browse files
fix: If starting a new chat, citation panel should get closed automatically
Merge pull request #383 from microsoft/psl-bug-17493
2 parents 36f576f + f0bbb4b commit 2f7fe08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/App/src/components/Chat/Chat.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -718,6 +718,7 @@ const Chat: React.FC<ChatProps> = ({
718718

719719
const onNewConversation = () => {
720720
dispatch({ type: actionConstants.NEW_CONVERSATION_START });
721+
dispatch({ type: actionConstants.UPDATE_CITATION,payload: { activeCitation: null, showCitation: false }})
721722
};
722723
const { messages, citations } = state.chat;
723724
return (

0 commit comments

Comments
 (0)