Skip to content

Commit

Permalink
Update src/GlobalFormsProvider/GlobalFormsContext.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Benedikt Franke <[email protected]>
  • Loading branch information
mic-web and spawnia authored Sep 9, 2024
1 parent ac3e5b7 commit 0b80248
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/GlobalFormsProvider/GlobalFormsContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ export type GlobalFormsContextType = {
setSubmitCallback: (form: FormInfo, callback: () => Promise<void>) => void;
setSubmitting: (form: FormInfo, submitting: boolean) => void;
setSubmitSuccessful: (form: FormInfo, submitSuccessful: boolean) => void;
/**
* Returns true when all forms were submitted successfully
*/
/** Returns true when all forms were submitted successfully. */
submit: (additionalCallback?: CallbackWithOrder) => Promise<boolean>;
};

Expand Down

0 comments on commit 0b80248

Please sign in to comment.