Skip to content

Commit 51c2bdd

Browse files
committed
Cleanup
1 parent b66f3bd commit 51c2bdd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hooks/useColumnWidths.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ export function useColumnWidths<R, SR>(
4343

4444
useLayoutEffect(() => {
4545
prevGridWidthRef.current = gridWidth;
46-
updateMeasuredWidths(columnsToMeasure);
46+
updateMeasuredWidths();
4747
});
4848

49-
function updateMeasuredWidths(columnsToMeasure: readonly string[]) {
49+
function updateMeasuredWidths() {
5050
if (columnsToMeasure.length > 0) {
5151
setMeasuredColumnWidths((measuredColumnWidths) => {
5252
const newMeasuredColumnWidths = new Map(measuredColumnWidths);

0 commit comments

Comments
 (0)