From 77b118b9e167af7f54091c2df31e61564886a12f Mon Sep 17 00:00:00 2001 From: Maarten Date: Fri, 9 Aug 2024 14:07:44 +0200 Subject: [PATCH] CS --- lib/components/EditModal.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/components/EditModal.tsx b/lib/components/EditModal.tsx index 9ee3df7..03efd55 100644 --- a/lib/components/EditModal.tsx +++ b/lib/components/EditModal.tsx @@ -46,7 +46,9 @@ const CustomModal: React.FC = ({ title, visible, onClose, onSave const handleSave = () => { onSave( inputValues ); - if (onClose) onClose(); + if (onClose) { + onClose(); + } }; return (