diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2025-02-04 17:02:17 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2025-02-04 17:02:17 +0700 |
| commit | 7dd2b66958fbe63c1fa68a9c3fb5eab7ee389342 (patch) | |
| tree | df919cfcc82cff049e4c0155281d4056e69dea43 /src/lib | |
| parent | 5187f40005dd2e391ae601c11886b539dffe4dd7 (diff) | |
<iman> munculin company profile
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/auth/components/CompanyProfile.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/auth/components/CompanyProfile.jsx b/src/lib/auth/components/CompanyProfile.jsx index 410d6a23..47f2f1a1 100644 --- a/src/lib/auth/components/CompanyProfile.jsx +++ b/src/lib/auth/components/CompanyProfile.jsx @@ -59,7 +59,7 @@ const CompanyProfile = () => { useEffect(() => { const loadProfile = async () => { const dataProfile = await addressApi({ - id: auth.parentId ? auth.parentId : auth.parent_id, + id: auth?.company ? auth.partnerId : auth.parentId, }); setCompany_type(dataProfile?.companyType); setValue('name', dataProfile?.name); |
