clean code

This commit is contained in:
2025-07-01 18:23:42 +08:00
parent f3967b2d95
commit b314d91ce4

View File

@@ -21,7 +21,6 @@
email: string;
password: string; // Note: Passwords should not be stored in plain text
role: string;
nip: string;
full_name: string;
phone: string;
address: string;
@@ -52,7 +51,6 @@
{ key: "email", title: "Email" },
{ key: "password", title: "Password" },
{ key: "role", title: "Role" },
{ key: "nip", title: "NIP" },
{ key: "full_name", title: "Full Name" },
{ key: "phone", title: "Phone" },
{ key: "address", title: "Address" },
@@ -179,10 +177,7 @@
const requiredFields = [
"email",
"role",
"nip",
"full_name",
"phone",
"address",
];
requiredFields.forEach((field) => {
@@ -312,7 +307,6 @@
newUser = {
email: "",
role: "user",
nip: "",
full_name: "",
phone: "",
address: "",