Skip to content

Commit

Permalink
Linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
12joan committed Jan 16, 2025
1 parent 265681d commit 7b99695
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/slate-react/src/components/editable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,8 @@ export const Editable = forwardRef(
window.document.addEventListener('drop', stoppedDragging)

return () => {
window.document.removeEventListener('selectionchange',
window.document.removeEventListener(
'selectionchange',
onSelectionChange
)
window.document.removeEventListener('dragend', stoppedDragging)
Expand Down

0 comments on commit 7b99695

Please sign in to comment.