"use client"; import { UserResult } from "@/app/api/user"; import { Card, CardContent, Grid, Stack, TextField, Typography, } from "@mui/material"; import { useFormContext } from "react-hook-form"; import { useTranslation } from "react-i18next"; interface Props { data: UserResult } const UserDetail: React.FC = ({ data }) => { const { t } = useTranslation(); const { register, formState: { errors }, control, } = useFormContext(); return ( {t("User Detail")} {/* */} ); }; export default UserDetail;