Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lauri865 committed Dec 4, 2024
1 parent 01cbb00 commit d4707a1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,9 @@ export function useGridColumns(
const hasFlexColumns = gridVisibleColumnDefinitionsSelector(apiRef).some(
(col) => col.flex && col.flex > 0,
);
if (!hasFlexColumns) return;
if (!hasFlexColumns) {
return;
}

setGridColumnsState(
hydrateColumnsWidth(
Expand Down

0 comments on commit d4707a1

Please sign in to comment.