From f7b71e2e26a287a02108fdc8a5dee0b8ff06fec1 Mon Sep 17 00:00:00 2001 From: Nikita Kolmogorov Date: Thu, 21 Dec 2023 10:22:37 -0800 Subject: [PATCH] Update Mint component with new contract link and button label --- src/components/Mint.tsx | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/src/components/Mint.tsx b/src/components/Mint.tsx index 0179232..62b41f1 100644 --- a/src/components/Mint.tsx +++ b/src/components/Mint.tsx @@ -5,7 +5,6 @@ import Link from 'components/Link' import env from 'helpers/env' export default function () { - const [amount, setAmount] = useState(1000) const [loading, setLoading] = useState(false) const [error, setError] = useState('') const [actionSuccess, setActionSuccess] = useState(false) @@ -51,23 +50,19 @@ export default function () { return ( <> - setAmount(parseInt(e.currentTarget.value))} - /> -
- - Cost: ~{(amount / 100000).toFixed(3)} ETH - -
+

+ The contract is{' '} + + + 0x10c2820e29c97D380aaAD53C9CB507a840d460a5 + + {' '} + on the Base chain. +