File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
src/services/contracts/baseDAO/hooks Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -72,26 +72,6 @@ export const useOriginate = (template: DAOTemplate) => {
7272 async ( { metadataParams, params } ) => {
7373 const updatedStates = INITIAL_STATES
7474
75- const deployParams : any = {
76- params : { ...params } ,
77- metadataParams : { ...metadataParams }
78- }
79-
80- if ( network !== "mainnet" ) {
81- const resp = await fetch ( "http://localhost:3001/deploy" , {
82- method : "POST" ,
83- body : JSON . stringify ( { deployParams : deployParams } , replacer ) ,
84- headers : { "Content-Type" : "application/json" }
85- } )
86-
87- const data = await resp . json ( )
88- console . log ( "data: " , data )
89- const contract = data . contract
90- console . log ( "contract: " , contract )
91-
92- return contract
93- }
94-
9575 updatedStates [ 0 ] = {
9676 activeText : "Deploying Metadata Carrier Contract" ,
9777 completedText : ""
You can’t perform that action at this time.
0 commit comments