File tree 1 file changed +6
-6
lines changed
javascript/grid-ui/src/components/Node
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -85,20 +85,20 @@ export default function Node(props) {
85
85
86
86
function CreateStereotypeGridItem ( slotStereotype : any , index : any ) {
87
87
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 >
90
90
< img
91
91
src = { browserLogo ( slotStereotype . stereotype . browserName ) }
92
92
className = { classes . browserLogo }
93
93
alt = "Browser Logo"
94
94
/>
95
95
</ Grid >
96
- < Grid item key = { index } >
96
+ < Grid item >
97
97
< Typography className = { classes . slotInfo } >
98
98
{ slotStereotype . slots }
99
99
</ Typography >
100
100
</ Grid >
101
- < Grid item key = { index } >
101
+ < Grid item >
102
102
< Typography className = { classes . slotInfo } >
103
103
{
104
104
browserVersion (
@@ -212,7 +212,7 @@ export default function Node(props) {
212
212
. slice ( index * 3 , Math . min ( ( index * 3 ) + 3 , nodeInfo . slotStereotypes . length ) )
213
213
. map ( ( slotStereotype : any , idx ) => {
214
214
return (
215
- CreateStereotypeGridItem ( slotStereotype , idx )
215
+ CreateStereotypeGridItem ( slotStereotype , idx )
216
216
)
217
217
} ) }
218
218
</ Grid >
@@ -259,7 +259,7 @@ export default function Node(props) {
259
259
</ Grid >
260
260
< Grid item xs = { 12 }
261
261
>
262
- < LinearProgressWithLabel value = { currentLoad as number } />
262
+ < LinearProgressWithLabel value = { Number ( currentLoad ) } />
263
263
</ Grid >
264
264
</ Grid >
265
265
</ Grid >
You can’t perform that action at this time.
0 commit comments