1
0
Fork 0
mirror of synced 2024-10-04 03:54:37 +13:00

Remove commented out code

This commit is contained in:
Andrew Kingston 2023-04-24 16:12:25 +01:00
parent 31e0f99910
commit 4162600950

View file

@ -145,20 +145,6 @@ export const initialise = context => {
lastFocusedRowId = id
})
// Reset selected rows when selected cell changes
// focusedCellId.subscribe(id => {
// if (id) {
// selectedRows.set({})
// }
// })
// Unset selected cell when rows are selected
// selectedRows.subscribe(rows => {
// if (Object.keys(rows || {}).length) {
// focusedCellId.set(null)
// }
// })
// Remove hovered row when a cell is selected
focusedCellId.subscribe(cell => {
if (cell && get(hoveredRowId)) {