mirror of
https://github.com/StanGirard/quivr.git
synced 2024-11-27 18:32:55 +03:00
fix: update editor state update logic (#1809)
Issue: https://github.com/StanGirard/quivr/issues/1779 Demo: https://github.com/StanGirard/quivr/assets/63923024/5c5ff2fb-7856-4600-ad0b-82561793af78
This commit is contained in:
parent
ef53590b58
commit
8d173bdcc6
@ -63,7 +63,6 @@ export const useEditorStateUpdater = ({
|
|||||||
})
|
})
|
||||||
.run();
|
.run();
|
||||||
}
|
}
|
||||||
editor?.commands.focus("end");
|
|
||||||
}, [currentBrain, currentPrompt, editor]);
|
}, [currentBrain, currentPrompt, editor]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user