Skip to content

Commit

Permalink
format markfown diff
Browse files Browse the repository at this point in the history
  • Loading branch information
cherniavskii committed Feb 5, 2025
1 parent 3771d7a commit fa21f18
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ Below are described the steps you need to make to migrate from v7 to v8.
- The `visibleRowsLookup` state does not contain `true` values anymore. If the row is not visible, the value is `false`. Otherwise, the row id is not present in the object:
```diff
const visibleRowsLookup = gridVisibleRowsLookupSelector(apiRef);
-const isRowVisible = visibleRowsLookup[rowId] === true;
+const isRowVisible = visibleRowsLookup[rowId] !== false;
-const isRowVisible = visibleRowsLookup[rowId] === true;
+const isRowVisible = visibleRowsLookup[rowId] !== false;
```

### Other exports
Expand Down

0 comments on commit fa21f18

Please sign in to comment.