File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/cross-chain Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 77 parseEventLogs ,
88 prepareEvent ,
99} from "thirdweb" ;
10- import { defineChain , getChainMetadata , localhost } from "thirdweb/chains" ;
10+ import { defineChain , getChainMetadata } from "thirdweb/chains" ;
1111import {
1212 type FetchDeployMetadataResult ,
1313 getContract ,
@@ -103,12 +103,6 @@ export default async function Page(props: {
103103 console . debug ( e ) ;
104104 }
105105
106- if ( ! isDirectDeploy && ! isProxyDeploy ) {
107- if ( contract . chain . id === localhost . id ) {
108- return < div > Not supported</ div > ;
109- }
110- }
111-
112106 let initializeData : `0x${string } ` | undefined ;
113107 let inputSalt : `0x${string } ` | undefined ;
114108 let creationBlockNumber : bigint | undefined ;
@@ -243,6 +237,10 @@ export default async function Page(props: {
243237 : undefined ;
244238 }
245239
240+ if ( ! isDirectDeploy && ! isProxyDeploy && ! initializeData ) {
241+ return < div > Multi chain deployments not available</ div > ;
242+ }
243+
246244 return (
247245 < DataTable
248246 coreMetadata = { coreMetadata }
You can’t perform that action at this time.
0 commit comments