diff --git a/packages/x-data-grid/src/utils/fastObjectShallowCompare.ts b/packages/x-data-grid/src/utils/fastObjectShallowCompare.ts index 940220d63849d..2efc8c1cc2b9a 100644 --- a/packages/x-data-grid/src/utils/fastObjectShallowCompare.ts +++ b/packages/x-data-grid/src/utils/fastObjectShallowCompare.ts @@ -19,9 +19,6 @@ export function fastObjectShallowCompare | 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 */