Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sonln99 committed Jun 20, 2024
1 parent 8a383c7 commit 6645680
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
14 changes: 9 additions & 5 deletions src/app/get-aura/deposit.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import bingx from "@/assets/images/img_bingx_logo.svg";
import mexc from "@/assets/images/img_mexc_logo.svg";
import gateio from "@/assets/images/img_gateio_logo.svg";
import depositBingx from "@/assets/images/deposit_bingx.svg";
import depositBingx from "@/assets/images/deposit_bingx.jpg";
import depositGate from "@/assets/images/deposit_gate.jpg";
import depositMexc from "@/assets/images/deposit_mexc.jpg";
import Image from "next/image";
Expand Down Expand Up @@ -292,17 +292,21 @@ function Deposit() {
<button
type="submit"
className="button-border-gradient bg-brand-gradient"
disabled={isPending}
disabled={isPending || isConfirming}
>
<div className="button-border-gradient-inside">
{isPending ? "Confirming..." : "Deposit"}
{isPending
? "Confirming..."
: isConfirming
? "Waiting for confirmation..."
: "Deposit"}
</div>
</button>
{isConfirming && (
{/* {isConfirming && (
<div className="text-noti mt-2">
Waiting for confirmation...
</div>
)}
)} */}
{/* {isConfirmed && <div>Transaction confirmed.</div>} */}
{error && (
<div>
Expand Down
4 changes: 3 additions & 1 deletion src/app/get-aura/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@
gap: 12px;
padding: 16px 32px;
}

.button-border-gradient:disabled .button-border-gradient-inside {
background: #a19c9c;
}
.grey-text {
color: var(--Text, #968c7c);
text-align: center;
Expand Down
Binary file added src/assets/images/deposit_bingx.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6645680

Please sign in to comment.