Skip to content

Commit

Permalink
Merge branch 'main' into array-default-empty-issue
Browse files Browse the repository at this point in the history
  • Loading branch information
heath-freenome authored Jan 24, 2025
2 parents 7511f10 + 3f9760b commit a384e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/docs/usage/validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ import * as precompiledValidator from 'path_to/yourCompiledSchema';

const validator = createPrecompiledValidator(precompiledValidator as ValidatorFunctions);

render(<Form schema={schema} validator={validator} />, document.getElementById('app'));
render(<Form schema={yourSchema} validator={validator} />, document.getElementById('app'));
```

### Dynamically pre-compiling validators
Expand Down

0 comments on commit a384e3e

Please sign in to comment.