From 8c42598a8b51db860156bd1af65cd70b07ffc898 Mon Sep 17 00:00:00 2001 From: Rizky Date: Tue, 13 Feb 2024 21:37:18 +0700 Subject: [PATCH] wip fix --- app/web/src/nova/ed/logic/ed-global.ts | 2 +- app/web/src/nova/ed/panel/header/mid/comp-picker.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/web/src/nova/ed/logic/ed-global.ts b/app/web/src/nova/ed/logic/ed-global.ts index 750daed3..b4b6d0d9 100644 --- a/app/web/src/nova/ed/logic/ed-global.ts +++ b/app/web/src/nova/ed/logic/ed-global.ts @@ -273,7 +273,7 @@ export const EDGlobal = { comp: { preview_id: "", open: null as null | ((comp_id: string) => void | Promise), - import: true + import: false }, comp_group: null as null | { mouse_event: React.MouseEvent; diff --git a/app/web/src/nova/ed/panel/header/mid/comp-picker.tsx b/app/web/src/nova/ed/panel/header/mid/comp-picker.tsx index ddb4ada1..075412c2 100644 --- a/app/web/src/nova/ed/panel/header/mid/comp-picker.tsx +++ b/app/web/src/nova/ed/panel/header/mid/comp-picker.tsx @@ -69,9 +69,9 @@ export const EdCompPicker = () => { p.render(); }; - useEffect(() => { - activatePopup(); - }, []); + // useEffect(() => { + // activatePopup(); + // }, []); return (