Skip to content

Commit fc8914c

Browse files
fix(web): isolate undo history between pending question answers
1 parent bb03435 commit fc8914c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/web/src/components/chat/ChatComposer.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6846,7 +6846,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
68466846
) : null}
68476847
<ComposerContextActionsContext value={composerContextActions}>
68486848
<ComposerPromptEditor
6849-
historyScopeKey={composerTargetKey(routeThreadRef)}
6849+
historyScopeKey={composerTargetKey(questionAttachmentTarget ?? routeThreadRef)}
68506850
editorRef={composerEditorRef}
68516851
richTextEnabled={settings.composerRichTextEnabled}
68526852
value={

0 commit comments

Comments
 (0)