fix reset form at notification
This commit is contained in:
@ -368,7 +368,7 @@ const AddDialog = () => {
|
||||
</div>
|
||||
|
||||
<div className="flex justify-end gap-4">
|
||||
<Button type="reset" variant="outline" onClick={() => setFormField(initialState)}>
|
||||
<Button type="button" variant="outline" onClick={resetForm}>
|
||||
Reset
|
||||
</Button>
|
||||
<div className="flex justify-end">
|
||||
|
||||
Reference in New Issue
Block a user