From 479f9feab00a8e8197fdf9a1d8d69ee6fcd5b85e Mon Sep 17 00:00:00 2001 From: Aaron Curtis <77994989+aaroncurtisyoga@users.noreply.github.com> Date: Sun, 1 Dec 2024 16:49:44 -0500 Subject: [PATCH] fix import --- _lib/actions/newsletter.actions.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_lib/actions/newsletter.actions.ts b/_lib/actions/newsletter.actions.ts index 6c0faa5..2098233 100644 --- a/_lib/actions/newsletter.actions.ts +++ b/_lib/actions/newsletter.actions.ts @@ -2,13 +2,13 @@ import mailchimp from "@mailchimp/mailchimp_marketing"; import { z } from "zod"; -import { newsletterFormSchema } from "@/_lib/schema"; +import { NewsletterFormSchema } from "@/_lib/schema"; import { handleError } from "@/_lib/utils"; -type Inputs = z.infer; +type Inputs = z.infer; export async function addNewsletterEntry(data: Inputs) { // Validate form data - const formValidationResult = newsletterFormSchema.safeParse(data); + const formValidationResult = NewsletterFormSchema.safeParse(data); if (formValidationResult.success === false) { return { formErrors: formValidationResult.error.format() };