File tree Expand file tree Collapse file tree
frontend/src/components/deployments Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -285,6 +285,7 @@ const deployedQuery = useDeploymentManifest(
285285 { resources . map ( ( resource , index ) => (
286286 < Button
287287 key = { `${ resource . kind } -${ resource . name } ` }
288+ type = "button"
288289 variant = { selectedResourceIndex === index ? 'default' : 'outline' }
289290 size = "sm"
290291 className = "h-8"
@@ -308,12 +309,12 @@ const deployedQuery = useDeploymentManifest(
308309 </ span >
309310 < div className = "flex gap-2" >
310311 { resources . length > 1 && (
311- < Button variant = "outline" size = "sm" onClick = { ( e ) => { e . stopPropagation ( ) ; handleCopyAll ( ) ; } } >
312+ < Button type = "button" variant = "outline" size = "sm" onClick = { ( e ) => { e . stopPropagation ( ) ; handleCopyAll ( ) ; } } >
312313 < Copy className = "h-4 w-4 mr-1" />
313314 Copy All
314315 </ Button >
315316 ) }
316- < Button variant = "outline" size = "sm" onClick = { ( e ) => { e . stopPropagation ( ) ; handleCopy ( ) ; } } >
317+ < Button type = "button" variant = "outline" size = "sm" onClick = { ( e ) => { e . stopPropagation ( ) ; handleCopy ( ) ; } } >
317318 < Copy className = "h-4 w-4 mr-1" />
318319 Copy
319320 </ Button >
You can’t perform that action at this time.
0 commit comments