Skip to content

Commit

Permalink
Remove unused weak maps (#5296)
Browse files Browse the repository at this point in the history
  • Loading branch information
hujiulong authored Feb 17, 2023
1 parent 8bbda10 commit f2607c2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/slate-react/src/utils/weak-maps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ export const EDITOR_TO_KEY_TO_ELEMENT: WeakMap<

export const IS_READ_ONLY: WeakMap<Editor, boolean> = new WeakMap()
export const IS_FOCUSED: WeakMap<Editor, boolean> = new WeakMap()
export const IS_DRAGGING: WeakMap<Editor, boolean> = new WeakMap()
export const IS_CLICKING: WeakMap<Editor, boolean> = new WeakMap()
export const IS_COMPOSING: WeakMap<Editor, boolean> = new WeakMap()

export const EDITOR_TO_USER_SELECTION: WeakMap<
Expand Down

0 comments on commit f2607c2

Please sign in to comment.