summaryrefslogtreecommitdiff
path: root/src/lib/auth
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-12-24 09:00:50 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-12-24 09:00:50 +0700
commit1fa1a7873aa67cdd9ca211c239276a148cd4cdda (patch)
tree7dccefe381f296cd10e2a20fbac7463aa0ccd873 /src/lib/auth
parent22bf497d3fd524a95982e090f2c8a1be6bde656b (diff)
<iman> get email partner
Diffstat (limited to 'src/lib/auth')
-rw-r--r--src/lib/auth/components/SwitchAccount.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/auth/components/SwitchAccount.jsx b/src/lib/auth/components/SwitchAccount.jsx
index 12bbf4bb..46e57348 100644
--- a/src/lib/auth/components/SwitchAccount.jsx
+++ b/src/lib/auth/components/SwitchAccount.jsx
@@ -87,7 +87,7 @@ const SwitchAccount = ({ company_type }) => {
setSelectedValue('PKP');
}
if (auth?.company) {
- updateForm('email_partner', dataProfile?.email_partner);
+ updateForm('email_partner', dataProfile?.email);
updateForm('business_name', dataProfile?.name);
updateForm('industry_id', `${dataProfile?.industryId}`);
updateForm('company_type_id', `${dataProfile?.companyTypeId}`);