mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-10 23:16:38 +00:00
used zod codemod
This commit is contained in:
@@ -63,7 +63,7 @@ export default function GenerateLicenseKeyForm({
|
||||
|
||||
// Personal form schema
|
||||
const personalFormSchema = z.object({
|
||||
email: z.string().email(),
|
||||
email: z.email(),
|
||||
firstName: z.string().min(1),
|
||||
lastName: z.string().min(1),
|
||||
primaryUse: z.string().min(1),
|
||||
@@ -75,7 +75,7 @@ export default function GenerateLicenseKeyForm({
|
||||
|
||||
// Business form schema
|
||||
const businessFormSchema = z.object({
|
||||
email: z.string().email(),
|
||||
email: z.email(),
|
||||
firstName: z.string().min(1),
|
||||
lastName: z.string().min(1),
|
||||
jobTitle: z.string().min(1),
|
||||
|
||||
Reference in New Issue
Block a user