Skip to content

Commit

Permalink
perf: remove unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
romgrk committed Feb 10, 2024
1 parent fe3d3f8 commit 18e9bf4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/x-data-grid/src/utils/fastObjectShallowCompare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ export function fastObjectShallowCompare<T extends Record<string, any> | null>(a
if (!is(a[key], b[key])) {
return false;
}
if (!(key in b)) {
return false;
}
}

/* eslint-disable-next-line @typescript-eslint/naming-convention, @typescript-eslint/no-unused-vars */
Expand Down

0 comments on commit 18e9bf4

Please sign in to comment.