From 3f9760bcb617e217f6ae9c49744027fc99822439 Mon Sep 17 00:00:00 2001 From: Petar Gligic Date: Fri, 24 Jan 2025 15:18:09 -0500 Subject: [PATCH] Update validation.md (#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 <51679588+heath-freenome@users.noreply.github.com> --- packages/docs/docs/usage/validation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docs/docs/usage/validation.md b/packages/docs/docs/usage/validation.md index 9e15796838..00674a7e43 100644 --- a/packages/docs/docs/usage/validation.md +++ b/packages/docs/docs/usage/validation.md @@ -88,7 +88,7 @@ import * as precompiledValidator from 'path_to/yourCompiledSchema'; const validator = createPrecompiledValidator(precompiledValidator as ValidatorFunctions); -render(
, document.getElementById('app')); +render(, document.getElementById('app')); ``` ### Dynamically pre-compiling validators