From 0cf478e33f93b2c47315b70b3c9cb3e29218edab Mon Sep 17 00:00:00 2001
From: MananTank ` tags instead of ` ` elements for children content in multiple steps.
- Updated `Link` components with new class names for consistent styling.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
---
.../overview/components/ContractChecklist.tsx | 73 +++++++++++++------
.../src/components/dashboard/StepsCard.tsx | 4 +-
2 files changed, 51 insertions(+), 26 deletions(-)
diff --git a/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/overview/components/ContractChecklist.tsx b/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/overview/components/ContractChecklist.tsx
index cbd8dbcaf0f..e6eb237a3bd 100644
--- a/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/overview/components/ContractChecklist.tsx
+++ b/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/overview/components/ContractChecklist.tsx
@@ -2,6 +2,7 @@ import { AdminOnly } from "@3rdweb-sdk/react/components/roles/admin-only";
import { useIsMinter } from "@3rdweb-sdk/react/hooks/useContractRoles";
import { StepsCard } from "components/dashboard/StepsCard";
import { useContractFunctionSelectors } from "contract-ui/hooks/useContractFunctionSelectors";
+import Link from "next/link";
import { useMemo } from "react";
import type { ThirdwebContract } from "thirdweb";
import * as ERC20Ext from "thirdweb/extensions/erc20";
@@ -10,7 +11,6 @@ import * as ERC1155Ext from "thirdweb/extensions/erc1155";
import * as ERC4337Ext from "thirdweb/extensions/erc4337";
import { getAccounts } from "thirdweb/extensions/erc4337";
import { useReadContract } from "thirdweb/react";
-import { Link, Text } from "tw-components";
interface ContractChecklistProps {
contract: ThirdwebContract;
@@ -177,13 +177,16 @@ function Inner({
steps.push({
title: "First NFT uploaded",
children: (
-
Head to the{" "}
-
+
NFTs tab
{" "}
to upload your NFT metadata.
-
Head to the{" "}
-
+
NFTs tab
{" "}
to set your NFT metadata.
-
Head to the{" "}
-
+
Claim Conditions tab
{" "}
to set your claim conditions. Users will be able to claim your drop
only if a claim phase is active.
-
+ No NFTs have been claimed so far. +
), completed: (erc721Claimed.data || 0n) > 0n, }); @@ -239,7 +250,9 @@ function Inner({ steps.push({ title: "First token claimed", children: ( -+ No tokens have been claimed so far. +
), completed: (erc20Supply.data || 0n) > 0n, }); @@ -249,13 +262,16 @@ function Inner({ steps.push({ title: "First token minted", children: ( -Head to the{" "} - + token tab {" "} to mint your first token. -
Head to the{" "} - + NFTs tab {" "} to mint your first token. -
Head to the{" "} - + Accounts tab {" "} to create your first account. -
Head to the{" "} - + NFTs tab {" "} to reveal your NFTs. -