This commit is contained in:
Alex Holliday committed 2026-02-07 01:04:20 +00:00
1 parent 31cc9cd294
commit 1808db5cd7
3 files changed
+139

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
import { zodResolver } from "@hookform/resolvers/zod";
import { profileSchema, type ProfileFormData } from "@/Validation/profile";
export const useProfileForm = () => {
return {
resolver: zodResolver(profileSchema),
defaults: {
firstName: "",
lastName: "",
profileImage: null,
deleteProfileImage: false,
} as ProfileFormData,
};
};