diff --git a/src/useSubmit.ts b/src/useSubmit.ts index 271d9fe..32d2a36 100644 --- a/src/useSubmit.ts +++ b/src/useSubmit.ts @@ -3,7 +3,7 @@ import { Form, Submit } from "./types"; import { useMounted } from "./utilities/useMounted"; import { useEventCallback } from "./utilities/useEventCallback"; -type SubmitFn = (values: T) => void | Promise; +type SubmitFn = (values: T) => void | Promise; /** * Create a submit handler for the form.