chore: reset form on submission (#12465)
This commit is contained in:
1 parent
af2c6c0844
commit
a3b5263b76
1 file changed
+1
@@ -125,6 +125,7 @@ export default function CreateEventTypeDialog({
|
||||
}),
|
||||
"success"
|
||||
);
|
||||
form.reset();
|
||||
},
|
||||
onError: (err) => {
|
||||
if (err instanceof HttpError) {
|
||||
|
||||
Reference in new issue
Block a user