From d4919e757e0c96590e58e8f79af3f8076e1272a3 Mon Sep 17 00:00:00 2001 From: Rizky Date: Sun, 10 Mar 2024 08:31:30 +0700 Subject: [PATCH] wip fix --- app/web/src/nova/ed/panel/header/mid/comp-picker.tsx | 6 +++--- app/web/src/nova/ed/panel/popup/comp/comp-popup.tsx | 3 +-- app/web/src/nova/ed/panel/popup/comp/comp-tree.tsx | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) 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 bb81747f..f0efa7dc 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 @@ -71,9 +71,9 @@ export const EdCompPicker = () => { p.render(); }; - useEffect(() => { - activatePopup(); - }, []); + // useEffect(() => { + // activatePopup(); + // }, []); return ( { const p = useGlobal(EDGlobal, "EDITOR"); diff --git a/app/web/src/nova/ed/panel/popup/comp/comp-tree.tsx b/app/web/src/nova/ed/panel/popup/comp/comp-tree.tsx index 856a56ff..16fe9c9a 100644 --- a/app/web/src/nova/ed/panel/popup/comp/comp-tree.tsx +++ b/app/web/src/nova/ed/panel/popup/comp/comp-tree.tsx @@ -250,7 +250,7 @@ const Pic: FC<{ name: string }> = ({ name }) => { return (