Skip to content

Commit

Permalink
fixed spreading of key attribute in enact/ui/layout/cell
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-stoian-lgp committed May 21, 2024
1 parent 7c03337 commit 9199ea4
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
"invariant": "^2.2.4",
"prop-types": "^15.8.1",
"ramda": "^0.29.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-is": "^18.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-is": "^18.3.1",
"warning": "^4.0.3"
}
}
4 changes: 2 additions & 2 deletions packages/i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
"@enact/core": "^4.9.0-alpha.1",
"prop-types": "^15.8.1",
"ramda": "^0.29.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"xhr": "^2.6.0"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/sampler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"classnames": "^2.5.1",
"ilib": "14.19.0",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
}
4 changes: 2 additions & 2 deletions packages/spotlight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"classnames": "^2.5.1",
"prop-types": "^15.8.1",
"ramda": "^0.29.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"warning": "^4.0.3"
}
}
4 changes: 2 additions & 2 deletions packages/ui/Layout/Cell.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,13 +173,13 @@ const CellBase = kind({
}
},

render: ({component: Component, componentCss, componentRef, ...rest}) => {
render: ({component: Component, componentCss, componentRef, key, ...rest}) => {
delete rest.align;
delete rest.grow;
delete rest.shrink;
delete rest.size;

return <Component css={componentCss} ref={componentRef} {...rest} />;
return <Component css={componentCss} ref={componentRef} key={key} {...rest} />;
}
});

Expand Down
6 changes: 3 additions & 3 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
"invariant": "^2.2.4",
"prop-types": "^15.8.1",
"ramda": "^0.29.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-is": "^18.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-is": "^18.3.1",
"warning": "^4.0.3"
}
}
4 changes: 2 additions & 2 deletions packages/webos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"dependencies": {
"@enact/core": "^4.9.0-alpha.1",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
}

0 comments on commit 9199ea4

Please sign in to comment.