displays failed popout box for failed top up transaction
This commit was merged in pull request #568.
This commit is contained in:
@@ -86,6 +86,16 @@ function AddFundPop({
|
||||
}));
|
||||
setInputError("An Error Occurred");
|
||||
setTimeout(() => setInputError(""), 5000);
|
||||
|
||||
// use commented code when you when to display pop for failed start credit API
|
||||
// setConfirmCredit((prev) => ({
|
||||
// ...prev,
|
||||
// show: {
|
||||
// awaitConfirm: { loader: false, state: false },
|
||||
// acceptConfirm: { loader: false, state: true },
|
||||
// },
|
||||
// data: {internal_return: -1}
|
||||
// }));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user