From 535f559bed756c20d4ff9410bbaa9b0e94a9aff7 Mon Sep 17 00:00:00 2001 From: igorrCarvalho Date: Wed, 6 Mar 2024 14:27:31 -0300 Subject: [PATCH] Refactor: remove console.log --- src/frontend/src/CustomNodes/GenericNode/index.tsx | 1 - .../components/headerComponent/components/menuBar/index.tsx | 2 +- src/frontend/src/style/applies.css | 3 +++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/frontend/src/CustomNodes/GenericNode/index.tsx b/src/frontend/src/CustomNodes/GenericNode/index.tsx index a580684ac..a78362f16 100644 --- a/src/frontend/src/CustomNodes/GenericNode/index.tsx +++ b/src/frontend/src/CustomNodes/GenericNode/index.tsx @@ -44,7 +44,6 @@ export default function GenericNode({ const buildFlow = useFlowStore((state) => state.buildFlow); const setNode = useFlowStore((state) => state.setNode); const name = nodeIconsLucide[data.type] ? data.type : types[data.type]; - console.log(types[data.type]) const [inputName, setInputName] = useState(false); const [nodeName, setNodeName] = useState(data.node!.display_name); const [inputDescription, setInputDescription] = useState(false); diff --git a/src/frontend/src/components/headerComponent/components/menuBar/index.tsx b/src/frontend/src/components/headerComponent/components/menuBar/index.tsx index d4090cd19..81463bf12 100644 --- a/src/frontend/src/components/headerComponent/components/menuBar/index.tsx +++ b/src/frontend/src/components/headerComponent/components/menuBar/index.tsx @@ -123,7 +123,7 @@ export const MenuBar = ({ {(!hasApiKey || !validApiKey) && ( -
+
Export
diff --git a/src/frontend/src/style/applies.css b/src/frontend/src/style/applies.css index 348b58f9a..579e347b2 100644 --- a/src/frontend/src/style/applies.css +++ b/src/frontend/src/style/applies.css @@ -116,6 +116,9 @@ .extra-side-bar-buttons { @apply relative inline-flex w-full items-center justify-center rounded-md bg-background px-2 py-2 text-foreground transition-all duration-500 ease-in-out; } + .header-menubar-item { + @apply relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors hover:bg-accent hover:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 cursor-pointer; + } .extra-side-bar-buttons:hover { @apply hover:bg-muted; }