From 11f415a8c9438362078d0eceee37701edbdeaafc Mon Sep 17 00:00:00 2001 From: it-fixcomart Date: Fri, 27 Sep 2024 09:28:14 +0700 Subject: update fetch data --- src/lib/auth/components/SwitchAccount.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/auth/components/SwitchAccount.jsx b/src/lib/auth/components/SwitchAccount.jsx index ad22da0f..14ad7e8a 100644 --- a/src/lib/auth/components/SwitchAccount.jsx +++ b/src/lib/auth/components/SwitchAccount.jsx @@ -79,8 +79,8 @@ const SwitchAccount = () => { } updateForm('email_partner', dataProfile.email_partner); updateForm('business_name', dataProfile.name); - updateForm('industry_id', dataProfile.industryId); - updateForm('company_type_id', dataProfile.companyTypeId); + updateForm('industry_id', `${dataProfile.industryId}`); + updateForm('company_type_id', `${dataProfile.companyTypeId}`); updateForm('nama_wajib_pajak', dataProfile.taxName); updateForm('npwp', dataProfile.npwp); updateForm('alamat_wajib_pajak', dataProfile.alamatWajibPajak); -- cgit v1.2.3