From 6b8427b18ab3cb5bcc83bceaf43cc7b712a83fa6 Mon Sep 17 00:00:00 2001
From: "HATEC\\SPVDEV001" <tri.susilo@altama.co.id>
Date: Tue, 5 Dec 2023 15:09:52 +0700
Subject: add page content di formulir

---
 src/lib/form/components/KunjunganSales.jsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'src/lib/form/components/KunjunganSales.jsx')

diff --git a/src/lib/form/components/KunjunganSales.jsx b/src/lib/form/components/KunjunganSales.jsx
index 7064f807..7470395a 100644
--- a/src/lib/form/components/KunjunganSales.jsx
+++ b/src/lib/form/components/KunjunganSales.jsx
@@ -8,6 +8,7 @@ import { Controller, useForm } from 'react-hook-form'
 import { toast } from 'react-hot-toast'
 import * as Yup from 'yup'
 import createLeadApi from '../api/createLeadApi'
+import PageContent from '@/lib/content/components/PageContent'
 
 const KunjunganSales = () => {
   const {
@@ -74,7 +75,7 @@ const KunjunganSales = () => {
     <div className='container mx-auto p-4 md:p-0 my-0 md:my-10'>
       <h1 className='text-h-sm md:text-title-sm font-semibold mb-6'>Kunjungan Sales</h1>
 
-      <div className='w-full grid grid-cols-1 md:grid-cols-2'>
+      <div className='w-full grid grid-cols-1 md:grid-cols-2 gap-x-2'>
         <form onSubmit={handleSubmit(onSubmitHandler)} className='grid grid-cols-1 gap-y-6'>
           <div
             className='flex items-center bg-blue-100 border border-blue-300 text-blue-500 font-medium px-4 py-3 rounded leading-6'
@@ -174,6 +175,7 @@ const KunjunganSales = () => {
             Simpan
           </button>
         </form>
+        <PageContent path='/kunjungan-sales' />
       </div>
     </div>
   )
-- 
cgit v1.2.3

