Skip to content

Commit

Permalink
chore: adjustments according CR
Browse files Browse the repository at this point in the history
  • Loading branch information
collierrgbsitisfise committed Oct 12, 2024
1 parent a1f913e commit 803a0d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/lexical-yjs/src/SyncCursors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,6 @@ export function syncLexicalSelectionToYjs(
color,
focusing,
awarenessData,
...customFields
} = localState;
let anchorPos = null;
let focusPos = null;
Expand All @@ -526,13 +525,13 @@ export function syncLexicalSelectionToYjs(
shouldUpdatePosition(currentFocusPos, focusPos)
) {
awareness.setLocalState({
...localState,
anchorPos,
awarenessData,
color,
focusPos,
focusing,
name,
...customFields,
});
}
}

0 comments on commit 803a0d4

Please sign in to comment.