Skip to content

Commit 06521a4

Browse files
committed
remove redundant
1 parent dfd2a59 commit 06521a4

File tree

1 file changed

+1
-6
lines changed
  • apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/cross-chain

1 file changed

+1
-6
lines changed

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/cross-chain/page.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ export default async function Page(props: {
7070
let initCode: `0x${string}` = "0x";
7171
let creationTxReceipt: TransactionReceipt | undefined;
7272
let isDirectDeploy = false;
73-
let isProxyDeploy = false;
7473
try {
7574
const res = await fetch(
7675
`https://contract.thirdweb-dev.com/creation/${contract.chain.id}/${contract.address}`,
@@ -94,10 +93,6 @@ export default async function Page(props: {
9493
isDirectDeploy =
9594
creationTx.to?.toLowerCase() ===
9695
"0x4e59b44847b379578588920cA78FbF26c0B4956C".toLowerCase();
97-
isProxyDeploy =
98-
!!twCloneFactoryContract &&
99-
creationTx.to?.toLowerCase() ===
100-
twCloneFactoryContract?.address.toLowerCase();
10196
}
10297
} catch (e) {
10398
console.debug(e);
@@ -237,7 +232,7 @@ export default async function Page(props: {
237232
: undefined;
238233
}
239234

240-
if (!isDirectDeploy && !isProxyDeploy && !initializeData) {
235+
if (!isDirectDeploy && !initializeData) {
241236
return <div>Multi chain deployments not available</div>;
242237
}
243238

0 commit comments

Comments
 (0)