This commit is contained in:
Maarten 2024-08-09 14:07:44 +02:00
parent ad1640e8f2
commit 77b118b9e1

View file

@ -46,7 +46,9 @@ const CustomModal: React.FC<EditModalProps> = ({ title, visible, onClose, onSave
const handleSave = () => { const handleSave = () => {
onSave( inputValues ); onSave( inputValues );
if (onClose) onClose(); if (onClose) {
onClose();
}
}; };
return ( return (