Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
prv-proton committed Dec 17, 2024
1 parent a12ebac commit b03c127
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ export const Notifications = () => {
headerTooltip: 'Checkboxes indicate selection'
}
}, [])
const rowSelection = useMemo(() => {
return {
mode: 'multiRow'
}
}, [])

// Consolidated mutation handler
const handleMutation = useCallback(
Expand Down Expand Up @@ -221,7 +226,7 @@ export const Notifications = () => {
defaultMinWidth: 50,
defaultMaxWidth: 600
}}
rowSelection={{ mode: 'multiRow' }}
rowSelection={rowSelection}
rowClassRules={rowClassRules}
onCellClicked={onCellClicked}
selectionColumnDef={selectionColumnDef}
Expand Down

0 comments on commit b03c127

Please sign in to comment.