chore: reset form on submission (#12465)

This commit is contained in:
Udit Takkar
2023-11-22 10:42:19 +00:00
committed by GitHub
parent af2c6c0844
commit a3b5263b76
@@ -125,6 +125,7 @@ export default function CreateEventTypeDialog({
}),
"success"
);
form.reset();
},
onError: (err) => {
if (err instanceof HttpError) {