Upgraded to next v15 and eslint to v9
This commit is contained in:
@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user