Upgraded to next v15 and eslint to v9

This commit is contained in:
2024-10-23 12:18:24 +05:30
parent 65fc690787
commit 1f1b128b24
16 changed files with 622 additions and 570 deletions

View File

@ -1,12 +1,12 @@
'use server';
export type ContactFormState = {
export interface ContactFormState {
name: string;
phone: string;
email: string;
message: string;
status: string;
};
}
export async function saveContactForm(state: ContactFormState, formData: FormData): Promise<ContactFormState> {
const url =