Added Credit Limit & Pending Jobs Bug & removed reload for credit
This commit is contained in:
@@ -101,18 +101,10 @@ function ConfirmNairaWithdraw({
|
||||
});
|
||||
};
|
||||
|
||||
const getBack = () => {
|
||||
action();
|
||||
setShowNairaWithdraw({
|
||||
show: true,
|
||||
data: {},
|
||||
});
|
||||
};
|
||||
|
||||
const completeWithdrawal = () => {
|
||||
action();
|
||||
window.location.reload(true);
|
||||
};
|
||||
// const completeWithdrawal = () => {
|
||||
// action();
|
||||
// window.location.reload(true);
|
||||
// };
|
||||
|
||||
return (
|
||||
<ModalCom action={action} situation={situation} className="edit-popup">
|
||||
@@ -413,7 +405,7 @@ function ConfirmNairaWithdraw({
|
||||
<button
|
||||
onClick={
|
||||
completeNairaWithdraw.show
|
||||
? completeWithdrawal
|
||||
? action
|
||||
: completeNairaWithdraw?.state?.internal_return < 0
|
||||
? action
|
||||
: handleSubmit
|
||||
|
||||
Reference in New Issue
Block a user