Skip to content

Commit

Permalink
fix: Remove console.log statement (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
kennarddh authored Apr 18, 2024
1 parent 53a843c commit 890e545
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/plugins/link-dialog/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ export const linkDialogState$ = Cell<InactiveLinkDialog | PreviewLinkDialog | Ed
r.combine(currentSelection$, onWindowChange$),
withLatestFrom(activeEditor$, linkDialogState$, readOnly$),
map(([[selection], activeEditor, _, readOnly]) => {
console.log({ readOnly })
if ($isRangeSelection(selection) && activeEditor && !readOnly) {
const node = getLinkNodeInSelection(selection)

Expand Down

0 comments on commit 890e545

Please sign in to comment.