Skip to content

Commit

Permalink
feat: use fuel addr
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-user committed Jul 2, 2024
1 parent 5a736c2 commit ba2774e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions NFT/src/components/WalletDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ export const WalletDisplay = () => {
wallet && (
<div className="flex gap-4 items-center">
<span className="text-base text-gray-400 font-sans">
{getTruncatedAddress(wallet.address.toB256() as string)}
{getTruncatedAddress(wallet.address.toAddress() as string)}
</span>
<img
src="/copy.svg"
alt="copy"
className="cursor-pointer h-5 hover:opacity-80 active:scale-[90%]"
onClick={() => copyToClipboard(wallet.address.toB256() as string)}
onClick={() => copyToClipboard(wallet.address.toAddress() as string)}
/>
<span className="text-base text-gray-400 font-sans">
Balance: {walletBalance?.format()} ETH
Expand Down
1 change: 0 additions & 1 deletion NFT/src/pages/nft/mint/[id]/[fileId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ba2774e

Please sign in to comment.