fix cmd+L bug
This commit is contained in:
parent
d4ab5af357
commit
ad298878cc
1 changed files with 3 additions and 2 deletions
|
|
@ -647,11 +647,12 @@ function TipTapEditor(props: TipTapEditorProps) {
|
|||
useWebviewListener(
|
||||
"focusContinueInput",
|
||||
async (data) => {
|
||||
dispatch(clearCodeToEdit());
|
||||
|
||||
if (!props.isMainInput) {
|
||||
return;
|
||||
}
|
||||
|
||||
dispatch(clearCodeToEdit());
|
||||
|
||||
if (historyLength > 0) {
|
||||
await saveSession();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue