diff --git a/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/batch-lazy-mint-button.tsx b/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/batch-lazy-mint-button.tsx index 0e0c688bac4..d4d9258732e 100644 --- a/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/batch-lazy-mint-button.tsx +++ b/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/batch-lazy-mint-button.tsx @@ -1,5 +1,6 @@ "use client"; +import { Button } from "@/components/ui/button"; import { Sheet, SheetContent, @@ -17,7 +18,6 @@ import type { ThirdwebContract } from "thirdweb"; import * as ERC721Ext from "thirdweb/extensions/erc721"; import * as ERC1155Ext from "thirdweb/extensions/erc1155"; import { useReadContract, useSendAndConfirmTransaction } from "thirdweb/react"; -import { Button } from "tw-components"; interface BatchLazyMintButtonProps { canCreateDelayedRevealBatch: boolean; @@ -55,10 +55,8 @@ export const BatchLazyMintButton: React.FC = ({ - diff --git a/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/claim-button.tsx b/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/claim-button.tsx index 6f5a570e8c3..ead7061bab0 100644 --- a/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/claim-button.tsx +++ b/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/claim-button.tsx @@ -1,5 +1,6 @@ "use client"; +import { Button } from "@/components/ui/button"; import { Sheet, SheetContent, @@ -18,7 +19,6 @@ import { type ThirdwebContract, ZERO_ADDRESS } from "thirdweb"; import { getApprovalForTransaction } from "thirdweb/extensions/erc20"; import { claimTo } from "thirdweb/extensions/erc721"; import { useActiveAccount, useSendAndConfirmTransaction } from "thirdweb/react"; -import { Button } from "tw-components"; import { FormErrorMessage, FormHelperText, FormLabel } from "tw-components"; const CLAIM_FORM_ID = "nft-claim-form"; @@ -45,8 +45,8 @@ export const NFTClaimButton: React.FC = ({ contract }) => { return ( - diff --git a/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/lazy-mint-button.tsx b/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/lazy-mint-button.tsx index 0f6a25d110a..e5fb266bef4 100644 --- a/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/lazy-mint-button.tsx +++ b/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/lazy-mint-button.tsx @@ -1,4 +1,5 @@ "use client"; +import { Button } from "@/components/ui/button"; import { Sheet, SheetContent, @@ -10,7 +11,6 @@ import { MinterOnly } from "@3rdweb-sdk/react/components/roles/minter-only"; import { PlusIcon } from "lucide-react"; import { useState } from "react"; import type { ThirdwebContract } from "thirdweb"; -import { Button } from "tw-components"; import { LazyMintNftForm } from "./lazy-mint-form"; interface NFTLazyMintButtonProps { @@ -28,11 +28,8 @@ export const NFTLazyMintButton: React.FC = ({ - diff --git a/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/lazy-mint-form.tsx b/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/lazy-mint-form.tsx index ea7f1b93d36..2e382a89d52 100644 --- a/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/lazy-mint-form.tsx +++ b/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/lazy-mint-form.tsx @@ -1,5 +1,6 @@ "use client"; +import { Button } from "@/components/ui/button"; import { Accordion, AccordionButton, @@ -25,7 +26,6 @@ import { lazyMint as lazyMint721 } from "thirdweb/extensions/erc721"; import { lazyMint as lazyMint1155 } from "thirdweb/extensions/erc1155"; import { useActiveAccount, useSendAndConfirmTransaction } from "thirdweb/react"; import { - Button, FormErrorMessage, FormHelperText, FormLabel, @@ -313,9 +313,9 @@ export const LazyMintNftForm: React.FC = ({
diff --git a/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/reveal-button.tsx b/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/reveal-button.tsx index 3aa6410eaec..5e3a0a3ade4 100644 --- a/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/reveal-button.tsx +++ b/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/reveal-button.tsx @@ -1,5 +1,6 @@ "use client"; +import { Button } from "@/components/ui/button"; import { Sheet, SheetContent, @@ -18,7 +19,7 @@ import { toast } from "sonner"; import type { ThirdwebContract } from "thirdweb"; import { getBatchesToReveal, reveal } from "thirdweb/extensions/erc721"; import { useReadContract, useSendAndConfirmTransaction } from "thirdweb/react"; -import { Button, FormErrorMessage, FormLabel } from "tw-components"; +import { FormErrorMessage, FormLabel } from "tw-components"; interface NFTRevealButtonProps { contract: ThirdwebContract; @@ -48,11 +49,8 @@ export const NFTRevealButton: React.FC = ({ - diff --git a/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/shared-metadata-button.tsx b/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/shared-metadata-button.tsx index b06d2546bf8..821a7493336 100644 --- a/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/shared-metadata-button.tsx +++ b/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/shared-metadata-button.tsx @@ -1,4 +1,5 @@ "use client"; +import { Button } from "@/components/ui/button"; import { Sheet, SheetContent, @@ -10,7 +11,6 @@ import { MinterOnly } from "@3rdweb-sdk/react/components/roles/minter-only"; import { PlusIcon } from "lucide-react"; import { useState } from "react"; import type { ThirdwebContract } from "thirdweb"; -import { Button } from "tw-components"; import { SharedMetadataForm } from "./shared-metadata-form"; interface NFTSharedMetadataButtonProps { @@ -25,12 +25,8 @@ export const NFTSharedMetadataButton: React.FC< - diff --git a/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/split/components/distribute-button.tsx b/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/split/components/distribute-button.tsx index 2994aa67120..cae2c740b3f 100644 --- a/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/split/components/distribute-button.tsx +++ b/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/split/components/distribute-button.tsx @@ -1,5 +1,6 @@ "use client"; +import { Button } from "@/components/ui/button"; import { useSplitDistributeFunds } from "@3rdweb-sdk/react/hooks/useSplit"; import { MismatchButton } from "components/buttons/MismatchButton"; import { TransactionButton } from "components/buttons/TransactionButton"; @@ -7,7 +8,6 @@ import { useTrack } from "hooks/analytics/useTrack"; import { useTxNotifications } from "hooks/useTxNotifications"; import { useMemo } from "react"; import type { ThirdwebContract } from "thirdweb"; -import { Button } from "tw-components"; import type { Balance } from "../ContractSplitPage"; interface DistributeButtonProps { @@ -90,7 +90,7 @@ export const DistributeButton: React.FC = ({ if (numTransactions === 0) { return ( - ); diff --git a/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/tokens/components/airdrop-button.tsx b/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/tokens/components/airdrop-button.tsx index b794868259f..72fb0530578 100644 --- a/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/tokens/components/airdrop-button.tsx +++ b/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/tokens/components/airdrop-button.tsx @@ -1,5 +1,6 @@ "use client"; +import { Button } from "@/components/ui/button"; import { Sheet, SheetContent, @@ -7,12 +8,11 @@ import { SheetTitle, SheetTrigger, } from "@/components/ui/sheet"; -import { Droplet } from "lucide-react"; +import { DropletIcon } from "lucide-react"; import { useState } from "react"; import type { ThirdwebContract } from "thirdweb"; import { balanceOf } from "thirdweb/extensions/erc20"; import { useActiveAccount, useReadContract } from "thirdweb/react"; -import { Button } from "tw-components"; import { TokenAirdropForm } from "./airdrop-form"; interface TokenAirdropButtonProps { contract: ThirdwebContract; @@ -33,12 +33,12 @@ export const TokenAirdropButton: React.FC = ({ diff --git a/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/tokens/components/burn-button.tsx b/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/tokens/components/burn-button.tsx index 58668e52fd5..312ef812354 100644 --- a/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/tokens/components/burn-button.tsx +++ b/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/tokens/components/burn-button.tsx @@ -1,5 +1,6 @@ "use client"; +import { Button } from "@/components/ui/button"; import { Sheet, SheetContent, @@ -23,7 +24,6 @@ import { useSendAndConfirmTransaction, } from "thirdweb/react"; import { - Button, FormErrorMessage, FormHelperText, FormLabel, @@ -59,12 +59,12 @@ export const TokenBurnButton: React.FC = ({ diff --git a/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/tokens/components/claim-button.tsx b/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/tokens/components/claim-button.tsx index 901ee7c3d6e..2b0344a87e7 100644 --- a/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/tokens/components/claim-button.tsx +++ b/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/tokens/components/claim-button.tsx @@ -1,5 +1,6 @@ "use client"; +import { Button } from "@/components/ui/button"; import { Sheet, SheetContent, @@ -11,7 +12,7 @@ import { import { FormControl, Input } from "@chakra-ui/react"; import { TransactionButton } from "components/buttons/TransactionButton"; import { useTrack } from "hooks/analytics/useTrack"; -import { Gem } from "lucide-react"; +import { GemIcon } from "lucide-react"; import { useState } from "react"; import { useForm } from "react-hook-form"; import { toast } from "sonner"; @@ -22,12 +23,7 @@ import { useReadContract, useSendAndConfirmTransaction, } from "thirdweb/react"; -import { - Button, - FormErrorMessage, - FormHelperText, - FormLabel, -} from "tw-components"; +import { FormErrorMessage, FormHelperText, FormLabel } from "tw-components"; interface TokenClaimButtonProps { contract: ThirdwebContract; @@ -52,12 +48,8 @@ export const TokenClaimButton: React.FC = ({ return ( - diff --git a/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/tokens/components/mint-button.tsx b/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/tokens/components/mint-button.tsx index ed2e0bb784c..81f3200b348 100644 --- a/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/tokens/components/mint-button.tsx +++ b/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/tokens/components/mint-button.tsx @@ -1,5 +1,6 @@ "use client"; +import { Button } from "@/components/ui/button"; import { Sheet, SheetContent, @@ -12,7 +13,7 @@ import { MinterOnly } from "@3rdweb-sdk/react/components/roles/minter-only"; import { FormControl, Input } from "@chakra-ui/react"; import { TransactionButton } from "components/buttons/TransactionButton"; import { useTrack } from "hooks/analytics/useTrack"; -import { Plus } from "lucide-react"; +import { PlusIcon } from "lucide-react"; import { useState } from "react"; import { useForm } from "react-hook-form"; import { toast } from "sonner"; @@ -23,7 +24,7 @@ import { useReadContract, useSendAndConfirmTransaction, } from "thirdweb/react"; -import { Button, FormErrorMessage, FormLabel } from "tw-components"; +import { FormErrorMessage, FormLabel } from "tw-components"; interface TokenMintButtonProps { contract: ThirdwebContract; @@ -50,12 +51,8 @@ export const TokenMintButton: React.FC = ({ - diff --git a/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/tokens/components/transfer-button.tsx b/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/tokens/components/transfer-button.tsx index 3ced0e1bc57..0cb62134b22 100644 --- a/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/tokens/components/transfer-button.tsx +++ b/apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/tokens/components/transfer-button.tsx @@ -1,5 +1,6 @@ "use client"; +import { Button } from "@/components/ui/button"; import { Sheet, SheetContent, @@ -12,7 +13,7 @@ import { FormControl, Input } from "@chakra-ui/react"; import { TransactionButton } from "components/buttons/TransactionButton"; import { SolidityInput } from "contract-ui/components/solidity-inputs"; import { useTrack } from "hooks/analytics/useTrack"; -import { Send } from "lucide-react"; +import { SendIcon } from "lucide-react"; import { useState } from "react"; import { useForm } from "react-hook-form"; import { toast } from "sonner"; @@ -23,12 +24,7 @@ import { useReadContract, useSendAndConfirmTransaction, } from "thirdweb/react"; -import { - Button, - FormErrorMessage, - FormHelperText, - FormLabel, -} from "tw-components"; +import { FormErrorMessage, FormHelperText, FormLabel } from "tw-components"; interface TokenTransferButtonProps { contract: ThirdwebContract; @@ -57,12 +53,12 @@ export const TokenTransferButton: React.FC = ({