From 854b44dfd13dd1263fc9afcdcb0289f3a39e301d Mon Sep 17 00:00:00 2001 From: daniel_sp Date: Mon, 25 Mar 2024 23:17:22 +0000 Subject: [PATCH] feat: add confirmation modal --- src/components/confirmationModal.jsx | 33 ++++----------------- src/components/teamFormation/createTeam.jsx | 18 +++++------ 2 files changed, 13 insertions(+), 38 deletions(-) diff --git a/src/components/confirmationModal.jsx b/src/components/confirmationModal.jsx index 7294a768..f99824b7 100644 --- a/src/components/confirmationModal.jsx +++ b/src/components/confirmationModal.jsx @@ -1,30 +1,8 @@ -export default function ConfirmationModal({ placeHolder, confirmAction, closeModal }) { +export default function ConfirmationModal({ placeHolder, closeModal }) { return (
-
- +
-

+

{placeHolder}

+ {showModal && + + }
- {showModal && - - }
); }