Add missing key of table rows.
This commit is contained in:
parent
79b616dd95
commit
d13f56b24a
3 changed files with 8 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"version": "1.0.5",
|
"version": "1.0.6",
|
||||||
"name": "@kernelui/smartable",
|
"name": "@kernelui/smartable",
|
||||||
"description": "Kernel UI Smartable.",
|
"description": "Kernel UI Smartable.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
"@kernelui:registry": "https://code.zeptotech.net/api/packages/UIKernel/npm/"
|
"@kernelui:registry": "https://code.zeptotech.net/api/packages/UIKernel/npm/"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@kernelui/core": "^1.3.3",
|
"@kernelui/core": "^1.5.0",
|
||||||
"@phosphor-icons/react": "^2.1.7",
|
"@phosphor-icons/react": "^2.1.7",
|
||||||
"@types/node": "^22.0.0",
|
"@types/node": "^22.0.0",
|
||||||
"@types/react": "^18.3.3",
|
"@types/react": "^18.3.3",
|
||||||
|
|
|
@ -154,7 +154,7 @@ export function TableBody<CK extends ColumnKey>({pagination}: {
|
||||||
sortedRows ? (
|
sortedRows ? (
|
||||||
sortedRows.map((rowData, index) => (
|
sortedRows.map((rowData, index) => (
|
||||||
// Rendering each row from its definition.
|
// Rendering each row from its definition.
|
||||||
<RowInstance row={rowData} />
|
<RowInstance key={index} row={rowData} />
|
||||||
))
|
))
|
||||||
) : (
|
) : (
|
||||||
<RowLoader />
|
<RowLoader />
|
||||||
|
|
10
yarn.lock
10
yarn.lock
|
@ -524,9 +524,9 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@kernelui/core@npm:^1.3.3":
|
"@kernelui/core@npm:^1.5.0":
|
||||||
version: 1.3.3
|
version: 1.5.0
|
||||||
resolution: "@kernelui/core@npm:1.3.3::__archiveUrl=https%3A%2F%2Fcode.zeptotech.net%2Fapi%2Fpackages%2FUIKernel%2Fnpm%2F%2540kernelui%252Fcore%2F-%2F1.3.3%2Fcore-1.3.3.tgz"
|
resolution: "@kernelui/core@npm:1.5.0::__archiveUrl=https%3A%2F%2Fcode.zeptotech.net%2Fapi%2Fpackages%2FUIKernel%2Fnpm%2F%2540kernelui%252Fcore%2F-%2F1.5.0%2Fcore-1.5.0.tgz"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@floating-ui/react": "npm:^0.26.17"
|
"@floating-ui/react": "npm:^0.26.17"
|
||||||
"@fontsource-variable/jetbrains-mono": "npm:^5.0.21"
|
"@fontsource-variable/jetbrains-mono": "npm:^5.0.21"
|
||||||
|
@ -539,7 +539,7 @@ __metadata:
|
||||||
react: ^18.3.1
|
react: ^18.3.1
|
||||||
react-dom: ^18.3.1
|
react-dom: ^18.3.1
|
||||||
react-router-dom: ^6.24.1
|
react-router-dom: ^6.24.1
|
||||||
checksum: 10c0/19e00303e752e937c2ced2f79eb8c189e9453e5b186c14a32fe621b460d367778b77ae659e7ff5262cdfe835e7cb7652084efe26cb388efaae1533f450fe25b3
|
checksum: 10c0/ee9aa82a04ead71bb774cb971507e69c3c74f665fb3a7dd0d778ff5eb2feddf1a3d4396f8781c795e3f2554af14f09fffa11b5e44095d785c6f45c7d23034549
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
@ -547,7 +547,7 @@ __metadata:
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@kernelui/smartable@workspace:."
|
resolution: "@kernelui/smartable@workspace:."
|
||||||
dependencies:
|
dependencies:
|
||||||
"@kernelui/core": "npm:^1.3.3"
|
"@kernelui/core": "npm:^1.5.0"
|
||||||
"@phosphor-icons/react": "npm:^2.1.7"
|
"@phosphor-icons/react": "npm:^2.1.7"
|
||||||
"@types/node": "npm:^22.0.0"
|
"@types/node": "npm:^22.0.0"
|
||||||
"@types/react": "npm:^18.3.3"
|
"@types/react": "npm:^18.3.3"
|
||||||
|
|
Loading…
Reference in a new issue