Skip to content

Commit 3f9760b

Browse files
pgliheath-freenome
andauthored
Update validation.md (rjsf-team#4458)
schema is not a variable here, and yourSchema is unused. I believe the form input here should be schema={yourSchema} Co-authored-by: Heath C <[email protected]>
1 parent 70d7c73 commit 3f9760b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/docs/docs/usage/validation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ import * as precompiledValidator from 'path_to/yourCompiledSchema';
8888

8989
const validator = createPrecompiledValidator(precompiledValidator as ValidatorFunctions);
9090

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

9494
### Dynamically pre-compiling validators

0 commit comments

Comments
 (0)