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

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

View File

@@ -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(