Skip to content

Commit

Permalink
collaboration-service: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinSoo committed Nov 7, 2023
1 parent f62e3b0 commit 664c6ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/EditorContainer/EditorContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const EditorContainer = ({
codeRef.current = code;
console.log("Applying remote changes");
cursorRef.current = editorRef.current.getModel().getPosition();
console.log("saving pos", pos);
console.log("saving cursor", cursorRef.current);
editorRef.current.getModel().applyEdits(changes);
if (editorRef.current.getModel().getValue() !== code) {
console.log("Client is out of sync");
Expand Down

0 comments on commit 664c6ec

Please sign in to comment.