summaryrefslogtreecommitdiff
path: root/src/lib/pengajuan-tempo/component/PengajuanTempo.jsx
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-10-18 17:08:55 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-10-18 17:08:55 +0700
commit548e2b48b1c2f6521037765f96083a8d79f611d6 (patch)
treeb2b1d8d924ec973d683e8fb0157b302bc7b037de /src/lib/pengajuan-tempo/component/PengajuanTempo.jsx
parent87ffd2fa7edc240693ddd81401ef23c5cd1bbb3e (diff)
<iman> add pengiriman section
Diffstat (limited to 'src/lib/pengajuan-tempo/component/PengajuanTempo.jsx')
-rw-r--r--src/lib/pengajuan-tempo/component/PengajuanTempo.jsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/pengajuan-tempo/component/PengajuanTempo.jsx b/src/lib/pengajuan-tempo/component/PengajuanTempo.jsx
index 14ea1805..257648ca 100644
--- a/src/lib/pengajuan-tempo/component/PengajuanTempo.jsx
+++ b/src/lib/pengajuan-tempo/component/PengajuanTempo.jsx
@@ -3,6 +3,7 @@ import { useMemo, useState, useEffect, useRef } from 'react';
import Stepper from './Stepper';
import InformasiPerusahaan from './informasiPerusahaan';
import KontakPerusahaan from './KontakPerusahaan';
+import Pengiriman from './Pengiriman';
import { Controller, useForm } from 'react-hook-form';
import {
usePengajuanTempoStore,
@@ -31,8 +32,7 @@ const PengajuanTempo = () => {
chekValid={notValid}
buttonSubmitClick={buttonSubmitClick}
/>,
- <div>Kontak Person</div>,
- <div>Pengiriman</div>,
+ <Pengiriman chekValid={notValid} buttonSubmitClick={buttonSubmitClick} />,
<div>Referensi</div>,
<div>Dokumen</div>,
<div>Konfirmasi</div>,
@@ -85,7 +85,7 @@ const PengajuanTempo = () => {
top: 0,
behavior: 'smooth',
});
- }, [currentStep]);
+ }, [currentStep, buttonSubmitClick]);
useEffect(() => {
const cachedData = getFromLocalStorage(stepLabels[currentStep]);