Skip to content

Commit

Permalink
Fix type de retour makeformactions
Browse files Browse the repository at this point in the history
  • Loading branch information
JabX committed Jan 31, 2025
1 parent e444863 commit fd358f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/forms/src/stores/form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export function makeFormActions<
componentClass: Component | null,
formNode: FN,
builder: (s: FormActionsBuilder<FN>) => FormActionsBuilder<FN, A, C, U, S>
): FormActions<FN, A> {
) {
const formActions = new FormActions(formNode, builder(new FormActionsBuilder()));
if (componentClass) {
disposeOnUnmount(componentClass, formActions.register());
Expand Down

0 comments on commit fd358f3

Please sign in to comment.