style: add no-self-compare rule (#5092)

This commit is contained in:
LongYinan committed 2023-11-28 08:55:50 +00:00
1 parent 890e3e4435
commit c1cf25d2d5
2 files changed
+3 -2

No files matched your search

@@ -24,13 +24,13 @@ export function createAffineAwarenessProvider(
const socket = getIoManager().socket('/');
const awarenessBroadcast = ({
workspaceId,
workspaceId: wsId,
awarenessUpdate,
}: {
workspaceId: string;
awarenessUpdate: string;
}) => {
if (workspaceId !== workspaceId) {
if (wsId !== workspaceId) {
return;
}
applyAwarenessUpdate(