draft-js-undo-plugin
Advanced tools
Comparing version 2.0.0-rc1 to 2.0.0-rc2
@@ -63,3 +63,3 @@ 'use strict'; | ||
{ | ||
disabled: !this.props.store || this.props.store.getEditorState().getRedoStack().isEmpty(), | ||
disabled: !this.props.store || !this.props.store.getEditorState || this.props.store.getEditorState().getRedoStack().isEmpty(), | ||
onClick: this.onClick, | ||
@@ -66,0 +66,0 @@ className: combinedClassName |
@@ -63,3 +63,3 @@ 'use strict'; | ||
{ | ||
disabled: !this.props.store || this.props.store.getEditorState().getUndoStack().isEmpty(), | ||
disabled: !this.props.store || !this.props.store.getEditorState || this.props.store.getEditorState().getUndoStack().isEmpty(), | ||
onClick: this.onClick, | ||
@@ -66,0 +66,0 @@ className: combinedClassName |
{ | ||
"name": "draft-js-undo-plugin", | ||
"version": "2.0.0-rc1", | ||
"version": "2.0.0-rc2", | ||
"description": "Undo Plugin for DraftJS", | ||
@@ -5,0 +5,0 @@ "author": { |
14053