From ec8a801827f3a303b2d98bd89dd1db71468a3da4 Mon Sep 17 00:00:00 2001 From: igorrCarvalho Date: Sat, 24 Feb 2024 18:10:17 -0300 Subject: [PATCH] Refactor: delete node button --- .../FlowPage/components/nodeToolbarComponent/index.tsx | 9 ++++++--- src/frontend/src/utils/styleUtils.ts | 2 ++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/frontend/src/pages/FlowPage/components/nodeToolbarComponent/index.tsx b/src/frontend/src/pages/FlowPage/components/nodeToolbarComponent/index.tsx index 84013a34f..5abaa7bfb 100644 --- a/src/frontend/src/pages/FlowPage/components/nodeToolbarComponent/index.tsx +++ b/src/frontend/src/pages/FlowPage/components/nodeToolbarComponent/index.tsx @@ -388,13 +388,16 @@ export default function NodeToolbarComponent({ )} - -
+ +
{" "} - Delete{" "} + Delete{" "} + + +
diff --git a/src/frontend/src/utils/styleUtils.ts b/src/frontend/src/utils/styleUtils.ts index 38ad99bb3..78dcfdec1 100644 --- a/src/frontend/src/utils/styleUtils.ts +++ b/src/frontend/src/utils/styleUtils.ts @@ -117,6 +117,7 @@ import { X, XCircle, Zap, + Delete, } from "lucide-react"; import { FaApple, FaGithub } from "react-icons/fa"; import { AWSIcon } from "../icons/AWS"; @@ -416,4 +417,5 @@ export const nodeIconsLucide: iconsType = { FlaskConical, AlertCircle, Bot, + Delete, };