From ccf4174e7e2e8a3f4cc35f243695f900f2172bb4 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Thu, 23 Feb 2023 13:19:17 +0700 Subject: fixc --- src/lib/auth/components/CompanyProfile.jsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/lib/auth/components/CompanyProfile.jsx') diff --git a/src/lib/auth/components/CompanyProfile.jsx b/src/lib/auth/components/CompanyProfile.jsx index f9f7fe13..1b25551e 100644 --- a/src/lib/auth/components/CompanyProfile.jsx +++ b/src/lib/auth/components/CompanyProfile.jsx @@ -57,7 +57,7 @@ const CompanyProfile = () => { company_type_id: values.companyType, industry_id: values.industry, tax_name: values.taxName - }; + } const isUpdated = await odooApi('PUT', `/api/v1/partner/${auth.parentId}`, data) if (isUpdated?.id) { setIsOpen(false) @@ -87,7 +87,10 @@ const CompanyProfile = () => { {isOpen && ( -
+