diff --git a/src/components/MyWallet/Popup/ConfirmAddFund.jsx b/src/components/MyWallet/Popup/ConfirmAddFund.jsx
index 37f414a..046f02f 100644
--- a/src/components/MyWallet/Popup/ConfirmAddFund.jsx
+++ b/src/components/MyWallet/Popup/ConfirmAddFund.jsx
@@ -49,11 +49,11 @@ function AmountSection({ currency, amount, country }) {
const gapClassName = country === "US" ? "gap-14" : "gap-4";
return (
-
+
Amount({currency})
-
+
{formattedAmount}
@@ -69,11 +69,11 @@ function TransactionFeeSection({ currency, fee, country }) {
const gapClass = country === "US" ? "gap-[2.7rem]" : "gap-4";
return (
-
+
Transaction Fee
-
+
{formattedFee}
@@ -96,7 +96,7 @@ function TotalSection({ currency, amount, fee, country }) {
Total
-
+
{formattedTotal}
diff --git a/src/components/MyWallet/Popup/ConfirmNairaWithdraw.jsx b/src/components/MyWallet/Popup/ConfirmNairaWithdraw.jsx
index 59dd6ea..b68567b 100644
--- a/src/components/MyWallet/Popup/ConfirmNairaWithdraw.jsx
+++ b/src/components/MyWallet/Popup/ConfirmNairaWithdraw.jsx
@@ -58,13 +58,12 @@ function ConfirmNairaWithdraw({
.sendMoney(reqData)
.then((res) => {
if (res.data.internal_return < 0) {
- // if (res.data?.status_message?.toLowerCase().includes("limit")) {
- // setRequestStatus({
- // message: ,
- // loading: false,
- // status: false,
- // });
- // }
+ setRequestStatus({
+ message: 'Unable to complete, try again',
+ loading: false,
+ status: false,
+ });
+
return setTimeout(() => {
setRequestStatus({
message: "",
@@ -79,19 +78,19 @@ function ConfirmNairaWithdraw({
}, 5000);
}
+ setRequestStatus({
+ message: "Withdrawal sucessful",
+ loading: false,
+ status: true,
+ });
+ setShowCompleteNairaWithdraw({
+ show: true,
+ load: false,
+ state: res.data,
+ });
setTimeout(() => {
- setRequestStatus({
- message: "",
- loading: false,
- status: false,
- });
- setShowCompleteNairaWithdraw({
- show: true,
- load: false,
- state: res.data,
- });
+ dispatch(tableReload({ type: "WALLETTABLE" }));
}, 5000);
- dispatch(tableReload({ type: "WALLETTABLE" }));
return;
})
.catch((error) => {
@@ -381,23 +380,23 @@ function ConfirmNairaWithdraw({
{!completeNairaWithdraw.load && (
<>
{requestStatus.message && requestStatus.message}
- {!completeNairaWithdraw.show && (
-
- )}
+
+
+