diff --git a/src/Codemirror.js b/src/Codemirror.js index b372f96..e5e2b4e 100644 --- a/src/Codemirror.js +++ b/src/Codemirror.js @@ -41,7 +41,6 @@ const CodeMirror = createReactClass({ }; }, componentWillMount () { - this.componentWillReceiveProps = debounce(this.componentWillReceiveProps, 0); if (this.props.path) { console.error('Warning: react-codemirror: the `path` prop has been changed to `name`'); }