Cancel
diff --git a/src/components/MyWallet/Popup/ConfirmNairaWithdraw.jsx b/src/components/MyWallet/Popup/ConfirmNairaWithdraw.jsx
index 8b392a0..16d3ffe 100644
--- a/src/components/MyWallet/Popup/ConfirmNairaWithdraw.jsx
+++ b/src/components/MyWallet/Popup/ConfirmNairaWithdraw.jsx
@@ -89,11 +89,11 @@ function ConfirmNairaWithdraw({
loading: false,
status: false,
}),
- 1500
+ 5000
);
}
setRequestStatus({
- message: "transfer successful",
+ message: "Transfer Successful!",
loading: false,
status: true,
});
diff --git a/src/components/MyWallet/Popup/ConfirmTransfer.jsx b/src/components/MyWallet/Popup/ConfirmTransfer.jsx
index 95a4f4c..d6c772e 100644
--- a/src/components/MyWallet/Popup/ConfirmTransfer.jsx
+++ b/src/components/MyWallet/Popup/ConfirmTransfer.jsx
@@ -60,14 +60,6 @@ function ConfirmTransfer({ payment, wallet }) {
});
};
- useEffect(() => {
- // what happens if not state redirect user
- if (!state) {
- navigate("/my-wallet/transfer-fund", { replace: true });
- } else {
- setPageLoading(false);
- }
- }, []);
return (
{pageLoading ? (
diff --git a/src/components/MyWallet/Popup/NairaWithdraw.jsx b/src/components/MyWallet/Popup/NairaWithdraw.jsx
index 585bb9b..6e52033 100644
--- a/src/components/MyWallet/Popup/NairaWithdraw.jsx
+++ b/src/components/MyWallet/Popup/NairaWithdraw.jsx
@@ -1,6 +1,5 @@
import { Form, Formik } from "formik";
import React, { useEffect, useState } from "react";
-import { useNavigate } from "react-router-dom";
import usersService from "../../../services/UsersService";
import InputCom from "../../Helpers/Inputs/InputCom";
import ModalCom from "../../Helpers/ModalCom";
@@ -13,7 +12,7 @@ function NairaWithdraw({
state,
setShowConfirmNairaWithdraw,
}) {
- const apiCall = new usersService();
+ const apiCall = new usersService();
const [tab, setTab] = useState("previous");
let [requestStatus, setRequestStatus] = useState(false);
@@ -630,7 +629,9 @@ function NairaWithdraw({
className="text-slate-500 text-lg"
value=""
>
- No Options Found!
+ {allCountries.data?.length
+ ? "Select..."
+ : "No Options Found!"}
)}