onCancel
How to warm me onCancel:
onCancel={() => {
if (onCancel) {
onCancel();
return;
}
close();
if (fileId !== null) {
handleCancel();
}
list("funcionarios", "replace");
}}
onCancel={() => {
if (onCancel) {
onCancel();
return;
}
close();
if (fileId !== null) {
handleCancel();
}
list("funcionarios", "replace");
}}
