diff --git a/components/MintSwapPanel.tsx b/components/MintSwapPanel.tsx index 335451a..e53151d 100644 --- a/components/MintSwapPanel.tsx +++ b/components/MintSwapPanel.tsx @@ -3,12 +3,13 @@ import { useState } from "react"; import Image from "next/image"; import { useApp } from "@/contexts/AppContext"; -import { Tabs, Tab, Button } from "@heroui/react"; +import { Tabs, Tab, Button, Input } from "@heroui/react"; export default function MintSwapPanel() { const { t } = useApp(); const [activeMode, setActiveMode] = useState<"mint" | "swap">("mint"); const [activeAction, setActiveAction] = useState<"deposit" | "withdraw">("deposit"); + const [amount, setAmount] = useState(""); return (
@@ -61,9 +62,13 @@ export default function MintSwapPanel() { {t("mintSwap.balance")}: $12,500.00 - +
@@ -78,11 +83,22 @@ export default function MintSwapPanel() { /> USDC -
- - 0.00 +
+ + + {amount ? `≈ $${amount}` : "--"} - --