Skip to content

Commit

Permalink
refactor: 린트 에러 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
pipisebastian committed Dec 3, 2024
1 parent 81a9116 commit cc98b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/features/editor/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ export const Editor = ({ onTitleChange, pageId, pageTitle, serializedEditorData
block.crdt.localInsert(currentPosition + 1, "", block.id, pageId);
}

currentPosition++;
currentPosition += 1;
});

block.crdt.currentCaret = currentCaret + characters.length;
Expand Down

0 comments on commit cc98b9b

Please sign in to comment.