Skip to content

Commit 523ec5a

Browse files
committed
Rename helper
1 parent 0e90906 commit 523ec5a

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();
46+
updateMeasuredAndResizedWidths();
4747
});
4848

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

0 commit comments

Comments
 (0)