From 06b5cee246a9ca77b83736b785d17fc69847d8d1 Mon Sep 17 00:00:00 2001 From: WGB5445 <919603023@qq.com> Date: Wed, 18 Oct 2023 23:52:50 +0800 Subject: [PATCH] Update MintBadge.js --- components/MintBadge.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/MintBadge.js b/components/MintBadge.js index 34dcbad..af9bb7f 100644 --- a/components/MintBadge.js +++ b/components/MintBadge.js @@ -44,7 +44,7 @@ export default function MintBadge() { const { isLoading, isSuccess } = useWaitForTransaction({ hash: data?.hash, }); - const toFacute = () => { + const toFaucet = () => { window.open(CONTRACT_MAP[chain.id]?.facute, '_blank'); } const handleMint = async () => { @@ -251,7 +251,7 @@ export default function MintBadge() { CONTRACT_MAP[chain.id]?.facute ? (