@@ -171,7 +171,7 @@ function DeploySubgraph({
171171 deploymentId,
172172 subgraphId,
173173 network,
174- apiKey
174+ apiKey,
175175} : {
176176 deploymentId : string ;
177177 subgraphId : string | undefined ;
@@ -226,7 +226,8 @@ function DeploySubgraph({
226226 }
227227 if ( ! apiKey ) {
228228 toast ( {
229- description : "apiKey is missing in URL params. Please add it to the URL params and try again." ,
229+ description :
230+ 'apiKey is missing in URL params. Please add it to the URL params and try again.' ,
230231 variant : 'destructive' ,
231232 } ) ;
232233 return ;
@@ -239,7 +240,7 @@ function DeploySubgraph({
239240 const data = await networkSubgraphExecute (
240241 GetSubgraphInfo ( subgraphId ) ,
241242 subgraphEndpoint ,
242- apiKey
243+ apiKey ,
243244 ) ;
244245
245246 const metadata = data . subgraph ?. metadata ;
@@ -292,7 +293,9 @@ function DeploySubgraph({
292293
293294 const version = form . watch ( 'versionLabel' ) ;
294295
295- return ! subgraphInfo . subgraph ?. versions . some ( ( { metadata } : { metadata : { label : string } } ) => metadata ?. label === version ) ;
296+ return ! subgraphInfo . subgraph ?. versions . some (
297+ ( { metadata } : { metadata : { label : string } } ) => metadata ?. label === version ,
298+ ) ;
296299 }
297300
298301 function isOwner ( ) {
@@ -593,7 +596,12 @@ function Page() {
593596 < ConnectKitButton />
594597 </ nav >
595598 { id ? (
596- < DeploySubgraph deploymentId = { id } subgraphId = { subgraphId } network = { protocolNetwork } apiKey = { apiKey } />
599+ < DeploySubgraph
600+ deploymentId = { id }
601+ subgraphId = { subgraphId }
602+ network = { protocolNetwork }
603+ apiKey = { apiKey }
604+ />
597605 ) : (
598606 < div className = "flex justify-center items-center min-h-screen -mt-16" >
599607 Unable to find the Deployment ID. Go back to CLI
0 commit comments