Skip to content

Commit fd6599e

Browse files
committed
Move contract overview page components to app router folder - No code changes
1 parent 60a80ef commit fd6599e

File tree

12 files changed

+5
-5
lines changed

12 files changed

+5
-5
lines changed

apps/dashboard/src/contract-ui/tabs/overview/components/ContractChecklist.tsx renamed to apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/overview/components/ContractChecklist.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import * as ERC4337Ext from "thirdweb/extensions/erc4337";
1010
import { getAccounts } from "thirdweb/extensions/erc4337";
1111
import { useReadContract } from "thirdweb/react";
1212
import { Link, Text } from "tw-components";
13-
import { useContractFunctionSelectors } from "../../../hooks/useContractFunctionSelectors";
13+
import { useContractFunctionSelectors } from "contract-ui/hooks/useContractFunctionSelectors";
1414

1515
interface ContractChecklistProps {
1616
contract: ThirdwebContract;

apps/dashboard/src/contract-ui/tabs/overview/components/NFTDetails.tsx renamed to apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/overview/components/NFTDetails.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as ERC721 from "thirdweb/extensions/erc721";
44
import * as ERC1155 from "thirdweb/extensions/erc1155";
55
import { useReadContract } from "thirdweb/react";
66
import { TrackedLink, type TrackedLinkProps } from "tw-components";
7-
import { NFTCards } from "./NFTCards";
7+
import { NFTCards } from "../../_components/NFTCards";
88

99
interface NFTDetailsProps {
1010
contract: ThirdwebContract;

apps/dashboard/src/contract-ui/tabs/overview/components/PermissionsTable.tsx renamed to apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/overview/components/PermissionsTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {
1616
type TrackedLinkProps,
1717
} from "tw-components";
1818
import { shortenIfAddress } from "utils/usedapp-external";
19-
import { getAllRoleMembers } from "../../../hooks/permissions";
19+
import { getAllRoleMembers } from "contract-ui/hooks/permissions";
2020

2121
interface PermissionsTableProps {
2222
contract: ThirdwebContract;

0 commit comments

Comments
 (0)