diff --git a/src/index.tsx b/src/index.tsx index 4aa0e75..395d5a7 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -17,7 +17,9 @@ export interface FormProps extends ReactFormProps { onChange?: HandleForm } -export const getFormDataObject = (formElement: HTMLFormElement): FormDataObject => { +export const getFormDataObject = ( + formElement: HTMLFormElement +): FormDataObject => { return Object.fromEntries(new FormData(formElement)) }