fix: resolve _hook import paths and signUpWithEmail type mismatch

This commit is contained in:
maulanasdqn
2026-04-11 17:35:52 +07:00
parent 7bef667e96
commit 63da701b1b
13 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -186,8 +186,8 @@ export const useEmailAuth = () => {
};
};
const signUpWithEmail = async (email: string, password: string, fullname: string) => {
const result = await signupMutation.mutateAsync({ email, password, fullname });
const signUpWithEmail = async (email: string, password: string, fullname: string, phone_number = '', confirm_password?: string) => {
const result = await signupMutation.mutateAsync({ email, password, fullname, phone_number, confirm_password: confirm_password || password });
return { message: result.message };
};