add clear history add dialog
This commit is contained in:
@ -103,6 +103,12 @@ const AddDialog = () => {
|
||||
}
|
||||
}, [formattedTime]);
|
||||
|
||||
useEffect(() => {
|
||||
if (showAddDialog === false) {
|
||||
resetForm();
|
||||
}
|
||||
}, [showAddDialog]);
|
||||
|
||||
useEffect(() => {
|
||||
const fetchMunicipios = async (sorting: any) => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user