finish form extraction

This commit is contained in:
Alex Holliday committed 2025-12-29 18:28:30 +00:00
1 parent 6dcfb67246
commit 18408a6bf6
15 files changed
+65 -64

No files matched your search

+1 -3
View File
@@ -5,12 +5,10 @@ import { useState, useEffect } from "react";
import type { IUser } from "@/types/user";
import type { ApiResponse } from "@/types/api";
import { useGet, usePatch, useGetOnDemand } from "@/hooks/UseApi";
import { z } from "zod";
import { profileSchema } from "@/validation/zod";
import { useTranslation } from "react-i18next";
import { useAppDispatch } from "@/hooks/AppHooks";
import { setUser as setUserGlobal } from "@/features/authSlice";
type FormValues = z.infer<typeof profileSchema>;
import type { FormValues } from "@/pages/profile/ProfileForm";
const Profile = () => {
const { t } = useTranslation();