diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-09-28 10:01:30 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-09-28 10:01:30 +0700 |
| commit | 3eb78e21b89bd0bdddb803767ea6ec983794994b (patch) | |
| tree | f5ced7fe061f1be40bbfbeeb0d4ff1e2b5de5310 /src/pages | |
| parent | 6de06f74f0a004900ecc415b91eb03d1b58a872f (diff) | |
<iman> update temp switch account
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/my/profile.jsx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pages/my/profile.jsx b/src/pages/my/profile.jsx index f6063ff2..ee0cd907 100644 --- a/src/pages/my/profile.jsx +++ b/src/pages/my/profile.jsx @@ -9,7 +9,7 @@ import SwitchAccount from '@/lib/auth/components/SwitchAccount'; import IsAuth from '@/lib/auth/components/IsAuth'; import Menu from '@/lib/auth/components/Menu'; import PersonalProfile from '@/lib/auth/components/PersonalProfile'; -import StatusSwitchAccount from '@/lib/auth/components/StatusSwitchAccount'; +// import StatusSwitchAccount from '@/lib/auth/components/StatusSwitchAccount'; import { Checkbox } from '@chakra-ui/react'; import { useState, useEffect } from 'react'; import switchAccountProgresApi from '@/lib/auth/api/switchAccountProgresApi.js'; @@ -89,12 +89,12 @@ export default function Profile() { <Divider /> </div> )} - {!auth?.parentId + {/* {!auth?.parentId ? auth?.parentId : auth?.parent_id && isAprove != 'unknown' && ( <StatusSwitchAccount status={isAprove} /> - )} + )} */} <PersonalProfile /> <Divider /> {auth?.parentId && <CompanyProfile />} @@ -126,12 +126,12 @@ export default function Profile() { <Divider /> </div> )} - {!auth?.parentId + {/* {!auth?.parentId ? auth?.parentId : auth?.parent_id && isAprove != 'unknown' && ( <StatusSwitchAccount status={isAprove} /> - )} + )} */} <PersonalProfile /> <Divider /> {auth?.parentId && <CompanyProfile />} |
