(cellId2)
| 1299 | getValue2(onChange)?.(sortAndOffset2); |
| 1300 | }; |
| 1301 | const handleSort = (cellId2) => { |
| 1302 | if (getValue2(sortOnClick)) { |
| 1303 | const [currentCellId, currentDescending, currentOffset] = sortAndOffset(); |
| 1304 | setStateAndChange([ |
| 1305 | cellId2, |
| 1306 | cellId2 == currentCellId ? !currentDescending : false, |
| 1307 | currentOffset |
| 1308 | ]); |
| 1309 | } |
| 1310 | }; |
| 1311 | const handleChangeOffset = (offset2) => { |
| 1312 | const [currentCellId, currentDescending] = sortAndOffset(); |
| 1313 | setStateAndChange([currentCellId, currentDescending, offset2]); |
nothing calls this directly
no test coverage detected
searching dependent graphs…