From 868e4254f7039e2e406554471b1190908a5d1256 Mon Sep 17 00:00:00 2001 From: samlhuillier Date: Wed, 13 Nov 2024 22:05:16 +0000 Subject: [PATCH] test hide --- src/components/Editor/EditorManager.tsx | 27 ++++++++----------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/src/components/Editor/EditorManager.tsx b/src/components/Editor/EditorManager.tsx index 58ef4345..7e1c9ef4 100644 --- a/src/components/Editor/EditorManager.tsx +++ b/src/components/Editor/EditorManager.tsx @@ -11,7 +11,7 @@ const EditorManager: React.FC = () => { const [contextMenuVisible, setContextMenuVisible] = useState(false) const [menuPosition, setMenuPosition] = useState({ x: 0, y: 0 }) const [editorFlex, setEditorFlex] = useState(true) - + const [showAIPopup, setShowAIPopup] = useState(false) const { editor } = useFileContext() const handleContextMenu = (event: React.MouseEvent) => { @@ -52,24 +52,13 @@ const EditorManager: React.FC = () => { editor={editor} tippyOptions={{ duration: 100 }} > - - - + {showAIPopup ? ( +
test hide
+ ) : ( + + )} )}