Skip to content

Commit 6b04457

Browse files
author
Zaydek Michels-Gualtieri
committed
Fixed warnings
1 parent 7ff239c commit 6b04457

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Editor/Editor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ const Editor = ({
283283
dedupedFirefoxCompositionEnd.current = true
284284

285285
const data = readCurrentDocumentNode(state)
286-
const [pos1] = readCurrentPos(state)
286+
let [pos1] = readCurrentPos(state)
287287

288288
// COMPAT (FF): Backspace during a composition
289289
// event can create an empty text node; **REMOVE

src/Editor/useEditor.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import * as ascii from "lib/encoding/ascii"
1+
import * as emojiTrie from "emoji-trie"
22
import * as posIterators from "./posIterators"
33
import LRUCache from "lib/LRUCache"
44
import parseElements from "./parser/parseElements"
5-
import parseInlineElements from "./parser/parseInlineElements"
65
import UndoManager from "lib/UndoManager"
76
import useMethods from "use-methods"
87
import uuidv4 from "uuid/v4"

0 commit comments

Comments
 (0)