Skip to content

Commit

Permalink
docs: fix async validation example imports
Browse files Browse the repository at this point in the history
The example imports `refine` from the `@conform-to/react` instead of `@conform-to/zod'
  • Loading branch information
afmelsaidy authored Nov 11, 2023
1 parent ee2491d commit b7bec85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?: {
Expand Down

0 comments on commit b7bec85

Please sign in to comment.