Added btn styles the of the credit and withdraw popup

This commit was merged in pull request #375.
This commit is contained in:
2023-08-04 03:18:51 +01:00
parent 51e829f7b4
commit 7ace7e5b5d
3 changed files with 7 additions and 4 deletions
@@ -63,7 +63,8 @@ function CompleteConfirmCredit({ onClose, confirmCredit }) {
</h1>
</div>
{data?.internal_return >= 0 ? (
{data?.internal_return >= 0 &&
data?.result !== "Charge failed" ? (
<>
<div className="flex items-center gap-8">
<h1 className="text-xl font-bold text-dark-gray dark:text-white tracking-tighter my-1">