diff --git a/src/components/GetStarted/EmploymentDetails.tsx b/src/components/GetStarted/EmploymentDetails.tsx
index 362174f..fa97568 100644
--- a/src/components/GetStarted/EmploymentDetails.tsx
+++ b/src/components/GetStarted/EmploymentDetails.tsx
@@ -1,7 +1,7 @@
import React from "react";
import { InputCompOne } from "..";
-const EmploymentDetails: React = () => {
+const EmploymentDetails: React.FC = () => {
return (
<>
diff --git a/src/components/GetStarted/GetStarted.tsx b/src/components/GetStarted/GetStarted.tsx
index 93d248f..782366d 100644
--- a/src/components/GetStarted/GetStarted.tsx
+++ b/src/components/GetStarted/GetStarted.tsx
@@ -6,7 +6,7 @@ import LoanAmountComp from "./LoanAmountComp";
const GetStarted = () => {
const [step, setStep] = React.useState(1);
- const handleNextStep: any = () => {
+ const handleNextStep = () => {
setStep(step + 1);
};
diff --git a/src/components/GetStarted/LoanAmountComp.tsx b/src/components/GetStarted/LoanAmountComp.tsx
index a283dbb..7294194 100644
--- a/src/components/GetStarted/LoanAmountComp.tsx
+++ b/src/components/GetStarted/LoanAmountComp.tsx
@@ -1,10 +1,10 @@
import React from "react";
import { InputCompOne } from "..";
-const LoanAmountComp = () => {
+const LoanAmountComp: React.FC = () => {
return (
<>
-
+
Loan Amount
@@ -20,19 +20,52 @@ const LoanAmountComp = () => {
-
+
-
+
+
+ The maximum amount you can apply for on this offer is based on the
+ information you shared with us in your loan application. We have
+ made this offer to suit your monthly remuneration and to enable you
+ pay your loan on-time
+
+
+
+
+
Minimum Offer:
+
+ N100,000
+
+
+
+
+
Maximum Offer:
+
+ N500,000
+
+
+
+
+
>
);
diff --git a/src/components/GetStarted/YourAreAlmostThere.tsx b/src/components/GetStarted/YourAreAlmostThere.tsx
index ad540e9..8836800 100644
--- a/src/components/GetStarted/YourAreAlmostThere.tsx
+++ b/src/components/GetStarted/YourAreAlmostThere.tsx
@@ -1,5 +1,5 @@
import React from "react";
-import { useNavigate } from "react-router-dom";
+// import { useNavigate } from "react-router-dom";
import EmploymentDetails from "./EmploymentDetails";
import ReferenceDetails from "./ReferenceDetails";
import { Button } from "..";
@@ -8,12 +8,7 @@ interface YourAreAlmostThereProps {
handleNextStep: any;
}
-const YourAreAlmostThere: React.FC = ({ handleNextStep }) => {
- const navigate = useNavigate();
-
- const navigation = () => {
- navigate("");
- };
+const YourAreAlmostThere: React.FC
= ({ handleNextStep }) => {
return (
<>
diff --git a/src/components/shared/InputCompOne.tsx b/src/components/shared/InputCompOne.tsx
index ae8cfbf..c3e9d57 100644
--- a/src/components/shared/InputCompOne.tsx
+++ b/src/components/shared/InputCompOne.tsx
@@ -6,7 +6,7 @@ export interface InputCompOneProps {
labelSpan?: string;
labelSpanClass?: string;
placeholder?: string;
- value: string;
+ value?: string;
onChange?: (e: React.ChangeEvent) => void;
onInput?: (e: React.FormEvent) => void;
name: string;