mirror of
https://github.com/System-End/site.git
synced 2026-04-19 16:28:21 +00:00
Fix timeout running in useForm
This commit is contained in:
parent
7c6823ff5f
commit
5cb4f2640f
1 changed files with 0 additions and 5 deletions
|
|
@ -64,11 +64,6 @@ const useForm = (
|
|||
setData({})
|
||||
setStatus('default')
|
||||
}, options.clearOnSubmit)
|
||||
} else {
|
||||
setTimeout(() => {
|
||||
setData({})
|
||||
setStatus('default')
|
||||
}, 3500)
|
||||
}
|
||||
} else {
|
||||
setStatus('error')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue