clear existing output

This commit is contained in:
Philipinho
2026-02-06 18:06:11 -08:00
parent 37f349f040
commit a27e683e06
@@ -91,6 +91,7 @@ const EditorAiMenu = ({ editor }: EditorAiMenuProps): JSX.Element | null => {
const { from, to } = editor.state.selection;
const content = editor.state.doc.textBetween(from, to);
setOutput("");
setIsLoading(true);
aiGenerateStreamMutation.mutate({
action: command.action,