Skip to content

Commit ec78925

Browse files
fix(web): isolate undo history between pending question answers
1 parent 61e92f2 commit ec78925

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
@@ -7296,7 +7296,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
72967296
)
72977297
: undefined
72987298
}
7299-
historyScopeKey={composerTargetKey(routeThreadRef)}
7299+
historyScopeKey={composerTargetKey(questionAttachmentTarget ?? routeThreadRef)}
73007300
editorRef={composerEditorRef}
73017301
richTextEnabled={settings.composerRichTextEnabled}
73027302
value={

0 commit comments

Comments
 (0)