diff options
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/auth/components/SwitchAccount.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/auth/components/SwitchAccount.jsx b/src/lib/auth/components/SwitchAccount.jsx index 6c1176bf..fd9f04f9 100644 --- a/src/lib/auth/components/SwitchAccount.jsx +++ b/src/lib/auth/components/SwitchAccount.jsx @@ -225,7 +225,7 @@ const SwitchAccount = ({ company_type }) => { </div> <div className='px-4 mb-4'> - {auth?.company && !(company_type === 'nonpkp') && ( + {!auth?.company && company_type === 'nonpkp' && ( <> <div className='mb-4'> <p className='text-black font-bold mb-2'> @@ -253,7 +253,7 @@ const SwitchAccount = ({ company_type }) => { <Radio colorScheme='red' value='PKP'> PKP </Radio> - {!(company_type === 'nonpkp') && ( + {!auth?.company && company_type === 'nonpkp' && ( <Radio colorScheme='red' value='Non-PKP' className='ml-4'> Non-PKP </Radio> |
