const { data, error } = await authClient.signIn.email(
{
email,
password,
},
fetchCallback({ setIsLoading })
);
console.log("data", data);
// it should navigate according to role
}
const { data, error } = await authClient.signIn.email(
{
email,
password,
},
fetchCallback({ setIsLoading })
);
console.log("data", data);
// it should navigate according to role
}