diff --git a/src/component/base/DraftEditor.react.js b/src/component/base/DraftEditor.react.js index 15801d8494..5217523327 100644 --- a/src/component/base/DraftEditor.react.js +++ b/src/component/base/DraftEditor.react.js @@ -57,8 +57,7 @@ const handlerMap = { }; type State = { - containerKey: number, - contentsKey: number, + contentsKey: number }; /** @@ -118,7 +117,7 @@ class DraftEditor extends React.Component { blur: () => void; setMode: (mode: DraftEditorModes) => void; exitCurrentMode: () => void; - restoreEditorDOM: (scrollPosition: DraftScrollPosition, keyToUse: string) => void; + restoreEditorDOM: (scrollPosition: DraftScrollPosition) => void; setRenderGuard: () => void; removeRenderGuard: () => void; setClipboard: (clipboard?: BlockMap) => void; @@ -177,7 +176,7 @@ class DraftEditor extends React.Component { this.onDragLeave = this._onDragLeave.bind(this); // See `_restoreEditorDOM()`. - this.state = {containerKey: 0, contentsKey: 0}; + this.state = {contentsKey: 0}; } /** @@ -235,7 +234,6 @@ class DraftEditor extends React.Component {