From 6af23a9bfc6d79377b446c6acfb3debf25c31825 Mon Sep 17 00:00:00 2001 From: SakthivelG <sakthivel.govindan@tarento.com> Date: Thu, 24 Mar 2022 15:08:51 +0530 Subject: [PATCH] fix: defect id 57753 --- src/components/modal/ModalTwo.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/modal/ModalTwo.tsx b/src/components/modal/ModalTwo.tsx index cb75859..62d4a11 100644 --- a/src/components/modal/ModalTwo.tsx +++ b/src/components/modal/ModalTwo.tsx @@ -152,16 +152,19 @@ export const ModalTwo = ({ </div> )} </div> - + <div className={`${styles.custom_modal_footer} modal-footer p-0 m-0 pt-3 pb-3`} > <div className="col-6 m-0"> - {!enableHandler ? ( + {!cancelHandler ? ( <button type="button" className={`${btnStyle.btn_one} me-2`} data-dismiss="modal" + onClick={() => { + setNote(""); + }} > Cancel </button> -- GitLab