"use client"; import { useState } from "react"; import ProjectForm from "@/components/ProjectForm"; import { projectFormSchema } from "@/types/schemas/application.schema"; import { z } from "zod"; import { SubmitHandler } from "react-hook-form"; type projectSchema = z.infer; export default function ApplyProject() { const [projectType, setProjectType] = useState([]); const [projectPitch, setProjectPitch] = useState("text"); const [applyProject, setApplyProject] = useState(false); const [selectedImages, setSelectedImages] = useState([]); const [projectPitchFile, setProjectPitchFile] = useState(""); const onSubmit: SubmitHandler = async (data) => { alert("มาแน้ววว"); console.table(data); }; return (
); }