From 7868be545edebd0b54e0ed0b59bc80361bbf36d6 Mon Sep 17 00:00:00 2001
From: it-fixcomart
Date: Tue, 15 Oct 2024 17:01:36 +0700
Subject: update informasi perusahaan
---
.../pengajuan-tempo/component/PengajuanTempo.jsx | 11 +-
src/lib/pengajuan-tempo/component/Stepper.jsx | 1 -
.../component/informasiPerusahaan.jsx | 246 +++++++++++++++++++++
.../component/informasiPerusahaan.tsx | 0
4 files changed, 254 insertions(+), 4 deletions(-)
create mode 100644 src/lib/pengajuan-tempo/component/informasiPerusahaan.jsx
delete mode 100644 src/lib/pengajuan-tempo/component/informasiPerusahaan.tsx
(limited to 'src')
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 = [
- Informasi Perusahaan
,
+ , // Call the component correctly
Kontak Person
,
Pengiriman
,
Referensi
,
@@ -33,8 +36,10 @@ const PengajuanTempo = () => {
-
-
+
+
+
+
{stepDivs[currentStep]}