fixing regitstrasi form
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
8a91eb6294
commit
4e7c9bb097
|
|
@ -66,15 +66,6 @@ const RegistrationPage = () => {
|
|||
memberIdentity = (data as PersonnelRegistrationData).policeNumber;
|
||||
}
|
||||
|
||||
// Debug logging
|
||||
// console.log("=== OTP Request Debug ===");
|
||||
// console.log("Category:", category);
|
||||
// console.log("Category type:", typeof category);
|
||||
// console.log("Email:", data.email);
|
||||
// console.log("Member Identity:", memberIdentity);
|
||||
// console.log("Current URL:", window.location.href);
|
||||
// console.log("URL search params:", window.location.search);
|
||||
|
||||
// Validate category before proceeding
|
||||
if (!category || !isValidCategory(category)) {
|
||||
console.error("Invalid category detected:", category);
|
||||
|
|
|
|||
|
|
@ -422,7 +422,7 @@ export const ProfileForm: React.FC<ProfileFormProps> = ({
|
|||
</div>
|
||||
)}
|
||||
|
||||
{/* <div className="mb-4 px-0 lg:px-[34px]">
|
||||
<div className="mb-4 px-0 lg:px-[34px]">
|
||||
<Label className="mb-2">
|
||||
{t("fullName", { defaultValue: "Full Name" })}{" "}
|
||||
<span className="text-red-500">*</span>
|
||||
|
|
@ -441,7 +441,7 @@ export const ProfileForm: React.FC<ProfileFormProps> = ({
|
|||
{errors.firstName.message}
|
||||
</div>
|
||||
)}
|
||||
</div> */}
|
||||
</div>
|
||||
|
||||
<div className="mb-4 px-0 lg:px-[34px]">
|
||||
<Label className="mb-2">
|
||||
|
|
|
|||
Loading…
Reference in New Issue