Skip to content

Commit

Permalink
Update useAIChatHook.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
supersimple33 authored Jan 28, 2025
1 parent 016b7ee commit 82995ff
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/ai/src/react/ai-chat/useAIChatHook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ export const useAIChatHooks = () => {

if (!blockAbove) return;

editor.undo();
editor.history.redos.pop();

const nodes = deserializeInlineMd(editor, content);

withAIBatch(
Expand Down

0 comments on commit 82995ff

Please sign in to comment.