summaryrefslogtreecommitdiff
path: root/src/lib/auth/components/CompanyProfile.jsx
diff options
context:
space:
mode:
authorHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-04-11 11:06:38 +0700
committerHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-04-11 11:06:38 +0700
commit3df233e0c23e7d4503931ab6ec8ffc41642ac104 (patch)
treeccc032defe422f5fafc4a08af672833b2fe41835 /src/lib/auth/components/CompanyProfile.jsx
parent006c77a85786c24199db157d1d70f48b47311d35 (diff)
parentf0a720441def88187b3913268238c379362fb9d3 (diff)
Merge branch 'master' into development_tri/feedback_UAT
Diffstat (limited to 'src/lib/auth/components/CompanyProfile.jsx')
-rw-r--r--src/lib/auth/components/CompanyProfile.jsx37
1 files changed, 6 insertions, 31 deletions
diff --git a/src/lib/auth/components/CompanyProfile.jsx b/src/lib/auth/components/CompanyProfile.jsx
index 1b25551e..854aa246 100644
--- a/src/lib/auth/components/CompanyProfile.jsx
+++ b/src/lib/auth/components/CompanyProfile.jsx
@@ -69,11 +69,7 @@ const CompanyProfile = () => {
return (
<>
- <button
- type='button'
- onClick={toggle}
- className='p-4 flex items-center text-left'
- >
+ <button type='button' onClick={toggle} className='p-4 flex items-center text-left'>
<div>
<div className='font-semibold mb-2'>Informasi Usaha</div>
<div className='text-gray_r-11'>
@@ -96,12 +92,7 @@ const CompanyProfile = () => {
<Controller
name='industry'
control={control}
- render={(props) => (
- <HookFormSelect
- {...props}
- options={industries}
- />
- )}
+ render={(props) => <HookFormSelect {...props} options={industries} />}
/>
</div>
<div className='flex flex-wrap'>
@@ -110,12 +101,7 @@ const CompanyProfile = () => {
<Controller
name='companyType'
control={control}
- render={(props) => (
- <HookFormSelect
- {...props}
- options={companyTypes}
- />
- )}
+ render={(props) => <HookFormSelect {...props} options={companyTypes} />}
/>
</div>
<div className='w-9/12 pl-1'>
@@ -129,24 +115,13 @@ const CompanyProfile = () => {
</div>
<div>
<label>Nama Wajib Pajak</label>
- <input
- {...register('taxName')}
- type='text'
- className='form-input mt-3'
- />
+ <input {...register('taxName')} type='text' className='form-input mt-3' />
</div>
<div>
<label>Nomor NPWP</label>
- <input
- {...register('npwp')}
- type='text'
- className='form-input mt-3'
- />
+ <input {...register('npwp')} type='text' className='form-input mt-3' />
</div>
- <button
- type='submit'
- className='btn-yellow w-full mt-2'
- >
+ <button type='submit' className='btn-yellow w-full mt-2'>
Simpan
</button>
</form>