summaryrefslogtreecommitdiff
path: root/src/lib/form/components/Merchant.jsx
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-05-03 10:38:52 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-05-03 10:38:52 +0700
commitb4abdb00ef83aa824e8a05d5b75df48adb7b9629 (patch)
tree86ce2454793fe31b54a87f151433cbf86dbed134 /src/lib/form/components/Merchant.jsx
parent31816dc3a6cb62e1480524c8f0065a7835fefdcd (diff)
semi dynamic page
Diffstat (limited to 'src/lib/form/components/Merchant.jsx')
-rw-r--r--src/lib/form/components/Merchant.jsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/form/components/Merchant.jsx b/src/lib/form/components/Merchant.jsx
index beb50f50..75b4e132 100644
--- a/src/lib/form/components/Merchant.jsx
+++ b/src/lib/form/components/Merchant.jsx
@@ -168,7 +168,9 @@ const CreateMerchant = () => {
control={control}
render={(props) => <HookFormSelect {...props} options={company_unit} />}
/>
- <div className='text-caption-2 text-danger-500 mt-1'>{errors.company_unit?.message}</div>
+ <div className='text-caption-2 text-danger-500 mt-1'>
+ {errors.company_unit?.message}
+ </div>
</div>
</div>
<div className='grid grid-cols-1 md:grid-cols-2 gap-4 mt-4'>