Added You're almost done page

This commit is contained in:
Ebube
2024-03-22 18:16:18 +01:00
parent e1bd0293f1
commit 08af493d65
2 changed files with 15 additions and 3 deletions
+3 -1
View File
@@ -1,6 +1,7 @@
import React from "react";
import BasicInfo from "./BasicInfo";
import YourAreAlmostThere from "./YourAreAlmostThere";
import LoanAmountComp from "./LoanAmountComp";
const GetStarted = () => {
const [step, setStep] = React.useState(1);
@@ -39,7 +40,8 @@ const GetStarted = () => {
handleNextStep={handleNextStep}
/>
)}
{step === 2 && <YourAreAlmostThere />}
{step === 2 && <YourAreAlmostThere handleNextStep={handleNextStep} />}
{step === 3 && <LoanAmountComp />}
</main>
</div>
</div>