Skip to content

Commit

Permalink
feat: test
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyair committed Apr 24, 2024
1 parent 16542e9 commit bbca39a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/useForm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export class FormStore {
};
};
private onFormLoad: InternalHooks['onFormLoad'] = () => {
this.config?.onFormLoad();
this.config?.onFormLoad?.();
};

private notifyWatch = (namePath: InternalNamePath[] = []) => {
Expand Down

0 comments on commit bbca39a

Please sign in to comment.