From ba2774e8e8ca6c95e4a8cef7f5f79d5d0c4ad2b7 Mon Sep 17 00:00:00 2001 From: Matt Auer Date: Tue, 2 Jul 2024 11:25:33 -0500 Subject: [PATCH] feat: use fuel addr --- NFT/src/components/WalletDisplay.tsx | 4 ++-- NFT/src/pages/nft/mint/[id]/[fileId].tsx | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/NFT/src/components/WalletDisplay.tsx b/NFT/src/components/WalletDisplay.tsx index a80141e13..d145c2aaf 100644 --- a/NFT/src/components/WalletDisplay.tsx +++ b/NFT/src/components/WalletDisplay.tsx @@ -14,13 +14,13 @@ export const WalletDisplay = () => { wallet && (
- {getTruncatedAddress(wallet.address.toB256() as string)} + {getTruncatedAddress(wallet.address.toAddress() as string)} copy copyToClipboard(wallet.address.toB256() as string)} + onClick={() => copyToClipboard(wallet.address.toAddress() as string)} /> Balance: {walletBalance?.format()} ETH diff --git a/NFT/src/pages/nft/mint/[id]/[fileId].tsx b/NFT/src/pages/nft/mint/[id]/[fileId].tsx index 6414e81cf..bf2934b50 100644 --- a/NFT/src/pages/nft/mint/[id]/[fileId].tsx +++ b/NFT/src/pages/nft/mint/[id]/[fileId].tsx @@ -77,7 +77,6 @@ export default function Mint() { spacing={3} className={clsx( "gradient-border", - "h-full", "rounded-xl", "bg-gradient-to-b", "from-zinc-900",