mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-20 16:00:38 +02:00
feat: expose more collaborator status icons (#7777)
This commit is contained in:
@@ -791,6 +791,14 @@ export const isShallowEqual = <
|
||||
const aKeys = Object.keys(objA);
|
||||
const bKeys = Object.keys(objB);
|
||||
if (aKeys.length !== bKeys.length) {
|
||||
if (debug) {
|
||||
console.warn(
|
||||
`%cisShallowEqual: objects don't have same properties ->`,
|
||||
"color: #8B4000",
|
||||
objA,
|
||||
objB,
|
||||
);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user