Skip to content

Commit

Permalink
docs: add an error message to the example
Browse files Browse the repository at this point in the history
  • Loading branch information
kazizi55 committed Nov 13, 2023
1 parent 5ad3817 commit cd600cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/routes/api/(schemas)/string/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const PasswordSchema = string([
]);

// Schema to validate a URL
const UrlSchema = string([url('The URL is badly formatted.')]);
const UrlSchema = string('A URL must be string', [url('The URL is badly formatted.')]);
```

## Related
Expand Down

0 comments on commit cd600cf

Please sign in to comment.