prettier fix
This commit is contained in:
@@ -11,14 +11,16 @@ const contactEmail = z
|
||||
.string({
|
||||
error:
|
||||
'Contact email is required. Please use the environment variable CONTACT_EMAIL.',
|
||||
}).describe(`The email where you want to receive the contact form submissions.`)
|
||||
})
|
||||
.describe(`The email where you want to receive the contact form submissions.`)
|
||||
.parse(process.env.CONTACT_EMAIL);
|
||||
|
||||
const emailFrom = z
|
||||
.string({
|
||||
error:
|
||||
'Sender email is required. Please use the environment variable EMAIL_SENDER.',
|
||||
}).describe(`The email sending address.`)
|
||||
})
|
||||
.describe(`The email sending address.`)
|
||||
.parse(process.env.EMAIL_SENDER);
|
||||
|
||||
export const sendContactEmail = enhanceAction(
|
||||
|
||||
@@ -6,7 +6,6 @@ import { ContactForm } from '~/(marketing)/contact/_components/contact-form';
|
||||
import { createI18nServerInstance } from '~/lib/i18n/i18n.server';
|
||||
import { withI18n } from '~/lib/i18n/with-i18n';
|
||||
|
||||
|
||||
export async function generateMetadata() {
|
||||
const { t } = await createI18nServerInstance();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user