fix: dashboard api calls, multi profile fetch
This commit is contained in:
@@ -188,13 +188,13 @@ export function UserCompletionPage() {
|
||||
firstName,
|
||||
lastName,
|
||||
gender: sex || 0,
|
||||
nationalId,
|
||||
nationalCode: nationalId,
|
||||
savePassword: showPasswordSection,
|
||||
password: showPasswordSection ? password : undefined,
|
||||
saveEmail: showEmail,
|
||||
email: showEmail ? email : undefined,
|
||||
birthDate,
|
||||
country,
|
||||
countryCode: country,
|
||||
});
|
||||
|
||||
if (res) {
|
||||
@@ -351,6 +351,7 @@ export function UserCompletionPage() {
|
||||
if (Object.keys(touched).length > 0) {
|
||||
validateForm();
|
||||
}
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [
|
||||
firstName,
|
||||
lastName,
|
||||
|
||||
Reference in New Issue
Block a user