Skip to content

Commit 997fa5b

Browse files
committed
Remove redundant API call
1 parent 80e1ce5 commit 997fa5b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/x-data-grid/src/hooks/features/columns/useGridColumns.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ export function useGridColumns(
9898

9999
apiRef.current.setState(mergeColumnsState(columnsState));
100100
apiRef.current.publishEvent('columnsChange', columnsState.orderedFields);
101-
apiRef.current.updateRenderContext?.();
102101
},
103102
[logger, apiRef],
104103
);

0 commit comments

Comments
 (0)