From 7868be545edebd0b54e0ed0b59bc80361bbf36d6 Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Tue, 15 Oct 2024 17:01:36 +0700
Subject: <iman> update informasi perusahaan

---
 src/lib/pengajuan-tempo/component/PengajuanTempo.jsx | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

(limited to 'src/lib/pengajuan-tempo/component/PengajuanTempo.jsx')

diff --git a/src/lib/pengajuan-tempo/component/PengajuanTempo.jsx b/src/lib/pengajuan-tempo/component/PengajuanTempo.jsx
index d7b45fda..5ef5374e 100644
--- a/src/lib/pengajuan-tempo/component/PengajuanTempo.jsx
+++ b/src/lib/pengajuan-tempo/component/PengajuanTempo.jsx
@@ -1,11 +1,14 @@
 import React from 'react';
 import Stepper from './Stepper';
+import InformasiPerusahaan from './informasiPerusahaan'; // Make sure this component exists
 
 const PengajuanTempo = () => {
   const [currentStep, setCurrentStep] = React.useState(0);
   const NUMBER_OF_STEPS = 6;
+
+  // Use the component directly in the array
   const stepDivs = [
-    <div>Informasi Perusahaan</div>,
+    <InformasiPerusahaan />, // Call the component correctly
     <div>Kontak Person</div>,
     <div>Pengiriman</div>,
     <div>Referensi</div>,
@@ -33,8 +36,10 @@ const PengajuanTempo = () => {
         </p>
       </div>
       <div className='h-[2px] w-full mb-20 bg-gray_r-3' />
-      <div className='container mt-10 flex flex-col items-center '>
-        <Stepper currentStep={currentStep} numberOfSteps={NUMBER_OF_STEPS} />
+      <div className='container mt-10 flex flex-col '>
+        <div className='flex items-center justify-center'>
+          <Stepper currentStep={currentStep} numberOfSteps={NUMBER_OF_STEPS} />
+        </div>
         <div>{stepDivs[currentStep]}</div>
         <section className='flex gap-10 mt-10'>
           <button
-- 
cgit v1.2.3

