From 073ca45ab5aa9c0993e10ed2235d8f0ecded092c Mon Sep 17 00:00:00 2001 From: Rizky Date: Sun, 18 Feb 2024 16:34:02 +0700 Subject: [PATCH] wip fix --- app/web/src/nova/ed/panel/popup/script/monaco.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/web/src/nova/ed/panel/popup/script/monaco.tsx b/app/web/src/nova/ed/panel/popup/script/monaco.tsx index 04f9104c..51d34170 100644 --- a/app/web/src/nova/ed/panel/popup/script/monaco.tsx +++ b/app/web/src/nova/ed/panel/popup/script/monaco.tsx @@ -460,8 +460,8 @@ declare global { applyChanges(); p.ui.popup.script.on_close = () => {}; }; - clearTimeout(scriptEdit.timeout); - scriptEdit.timeout = setTimeout(applyChanges, 1000); + // clearTimeout(scriptEdit.timeout); + // scriptEdit.timeout = setTimeout(applyChanges, 1000); }} onMount={async (editor, monaco) => { local.monaco = monaco;