import React from "react"; import Icon from "@/components/icon"; import { useTheme } from "next-themes"; import colors from "@/utils/colors"; import { useForm } from "react-hook-form"; import { yupResolver } from "@hookform/resolvers/yup"; import { signInValidationSchema } from "@/utils/form"; function ModalSignIn() { const { theme } = useTheme(); const color = colors[theme ?? "light"]["base-content"]; const { register, handleSubmit, formState: { errors }, } = useForm({ resolver: yupResolver(signInValidationSchema), }); return ( <> ); } export default ModalSignIn;