code quality improvements and improved file error handling
This commit is contained in:
@@ -13,9 +13,9 @@ const NPEDFields = () => {
|
||||
|
||||
const initialValues = user
|
||||
? {
|
||||
username: user.propUsername.value,
|
||||
password: user.propPassword.value,
|
||||
clientId: user.propClientID.value,
|
||||
username: user?.propUsername?.value,
|
||||
password: user?.propPassword?.value,
|
||||
clientId: user?.propClientID?.value,
|
||||
frontId: "NPED",
|
||||
rearId: "NPED",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user