Added Credit Limit & Pending Jobs Bug & removed reload for credit

This commit is contained in:
2023-07-27 11:34:27 +01:00
parent 994060d929
commit 28ab1116e9
6 changed files with 23 additions and 26 deletions
@@ -1,12 +1,7 @@
import React from "react";
function CompleteConfirmCredit({ onClose, confirmCredit }) {
const { data } = confirmCredit;
const backToWallet = () => {
onClose();
window.location.reload(true);
};
const { data } = confirmCredit
return (
<div className="logout-modal-body w-full flex flex-col items-center">
<div className="content-wrapper w-full h-[32rem]">
@@ -104,7 +99,7 @@ function CompleteConfirmCredit({ onClose, confirmCredit }) {
<div className="md:p-8 p-4 add-fund-btn flex justify-end items-center py-4 gap-4">
<button
className="px-4 h-11 flex justify-center items-center btn-gradient text-white text-base rounded-full w-[100px]"
onClick={backToWallet}
onClick={onClose}
>
Ok
</button>