fix: fix build error in newsletter form validation
This commit is contained in:
parent
f2b5bae866
commit
335c3b46d6
@ -49,7 +49,7 @@ export function NewsletterFormCard({ className }: NewsletterFormCardProps) {
|
||||
|
||||
// Create a schema for newsletter subscription
|
||||
const formSchema = z.object({
|
||||
subscribed: z.boolean().default(false),
|
||||
subscribed: z.boolean(),
|
||||
});
|
||||
|
||||
// Initialize the form
|
||||
|
Loading…
Reference in New Issue
Block a user