From 54f7cfb8212c03728ee716ad4c08a26312e8abda Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Fri, 7 Jul 2023 14:41:48 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20refactor(cardComponent/index.tsx?= =?UTF-8?q?):=20remove=20unnecessary=20dialog=20component=20and=20simplify?= =?UTF-8?q?=20delete=20button=20implementation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/cardComponent/index.tsx | 27 +++---------------- 1 file changed, 3 insertions(+), 24 deletions(-) diff --git a/src/frontend/src/components/cardComponent/index.tsx b/src/frontend/src/components/cardComponent/index.tsx index 83228d92d..276f0a7cd 100644 --- a/src/frontend/src/components/cardComponent/index.tsx +++ b/src/frontend/src/components/cardComponent/index.tsx @@ -47,30 +47,9 @@ export const CardComponent = ({ > {flow.name} {onDelete && ( - - - - - - - Are you sure absolutely sure? - - This action cannot be undone. Are you sure you want to - permanently delete this file from our servers? - - - - - - - + )}