shadcn-ui-react 0.3.5 → 0.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -174,7 +174,7 @@ import {
174
174
  import * as z from "zod";
175
175
 
176
176
  const formSchema = z.object({
177
- email: z.string({required_error: "Email is required"}).email({ message: "Enter a valid email address" }),
177
+ email: z.string({error: "Email is required"}).email({ message: "Enter a valid email address" }),
178
178
  password: z
179
179
  .string()
180
180
  .min(8, { message: "Password must be at least 8 characters" }),