Skip to content

Commit

Permalink
Fix #78: mui/x-data-grid selection change event handler name change
Browse files Browse the repository at this point in the history
  • Loading branch information
aetaric committed Dec 12, 2023
1 parent 2c35875 commit db472e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions webserver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"dependencies": {
"@emotion/react": "^11.10.8",
"@emotion/styled": "^11.10.8",
"@mui/system": "^5.4.1",
"@mui/icons-material": "^5.11.16",
"@mui/material": "^5.12.3",
"@mui/x-data-grid": "^6.3.1",
Expand Down
2 changes: 1 addition & 1 deletion webserver/src/components/Table.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default function DataTable() {
rows={rows}
columns={columns}
checkboxSelection
onSelectionModelChange={(selections) => {
onRowSelectionModelChange={(selections) => {
console.log(selections)
if (selections.length > 0) {
setselectedRows(selections)
Expand Down

0 comments on commit db472e2

Please sign in to comment.