Skip to content

Commit

Permalink
chore: remove incorrect error messages (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
zxch3n authored Jan 5, 2025
1 parent cb9c334 commit 47bf992
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cursor-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,9 @@ function absolutePositionToCursor(
const loroId = WEAK_NODE_TO_LORO_CONTAINER_MAPPING.get(nodeParent) ??
getByValue(mapping, nodeParent);
if (!loroId) {
console.error("Cannot find the loroNode");
if (nodeParent.nodeSize > 4) {
console.error("Cannot find the loroNode");
}
return;
}

Expand Down

0 comments on commit 47bf992

Please sign in to comment.