From b7bec8561076d9da1d7f275e99e815d94d479004 Mon Sep 17 00:00:00 2001 From: Abdelrahman Elsaidy Date: Sat, 11 Nov 2023 15:53:09 +0400 Subject: [PATCH] docs: fix async validation example imports The example imports `refine` from the `@conform-to/react` instead of `@conform-to/zod' --- docs/validation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/validation.md b/docs/validation.md index c64c018b..c97f59ba 100644 --- a/docs/validation.md +++ b/docs/validation.md @@ -99,7 +99,7 @@ export default function Signup() { Here is an example how you can do async validation with zod: ```tsx -import { refine } from '@conform-to/react'; +import { refine } from '@conform-to/zod'; // Instead of reusing a schema, let's prepare a schema creator function createSchema(constraint?: {