From 1fa1a7873aa67cdd9ca211c239276a148cd4cdda Mon Sep 17 00:00:00 2001 From: it-fixcomart Date: Tue, 24 Dec 2024 09:00:50 +0700 Subject: get email partner --- src/lib/auth/components/SwitchAccount.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') 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}`); -- cgit v1.2.3