File tree Expand file tree Collapse file tree
javascript/grid-ui/src/components/Node Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,20 +85,20 @@ export default function Node(props) {
8585
8686 function CreateStereotypeGridItem ( slotStereotype : any , index : any ) {
8787 return (
88- < Grid container item alignItems = 'center' spacing = { 1 } >
89- < Grid item key = { index } >
88+ < Grid container item alignItems = 'center' spacing = { 1 } key = { index } >
89+ < Grid item >
9090 < img
9191 src = { browserLogo ( slotStereotype . stereotype . browserName ) }
9292 className = { classes . browserLogo }
9393 alt = "Browser Logo"
9494 />
9595 </ Grid >
96- < Grid item key = { index } >
96+ < Grid item >
9797 < Typography className = { classes . slotInfo } >
9898 { slotStereotype . slots }
9999 </ Typography >
100100 </ Grid >
101- < Grid item key = { index } >
101+ < Grid item >
102102 < Typography className = { classes . slotInfo } >
103103 {
104104 browserVersion (
@@ -212,7 +212,7 @@ export default function Node(props) {
212212 . slice ( index * 3 , Math . min ( ( index * 3 ) + 3 , nodeInfo . slotStereotypes . length ) )
213213 . map ( ( slotStereotype : any , idx ) => {
214214 return (
215- CreateStereotypeGridItem ( slotStereotype , idx )
215+ CreateStereotypeGridItem ( slotStereotype , idx )
216216 )
217217 } ) }
218218 </ Grid >
@@ -259,7 +259,7 @@ export default function Node(props) {
259259 </ Grid >
260260 < Grid item xs = { 12 }
261261 >
262- < LinearProgressWithLabel value = { currentLoad as number } />
262+ < LinearProgressWithLabel value = { Number ( currentLoad ) } />
263263 </ Grid >
264264 </ Grid >
265265 </ Grid >
You can’t perform that action at this time.
0 commit comments