CS
This commit is contained in:
parent
ad1640e8f2
commit
77b118b9e1
1 changed files with 3 additions and 1 deletions
|
@ -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 (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue