diff --git a/examples/src/App.js b/examples/src/App.js
index 7730502..6c0663a 100644
--- a/examples/src/App.js
+++ b/examples/src/App.js
@@ -35,15 +35,6 @@ class App extends Component {
count: 0,
};
- componentDidMount() {
- setTimeout(() => {
- console.log('CHANGE!');
- this.setState({
- handleWidth: true,
- });
- }, 10000);
- }
-
onResize = () => this.setState({ count: this.state.count + 1 });
hideLeftPanel = () => this.setState({ leftPanel: !this.state.leftPanel });
@@ -60,7 +51,7 @@ class App extends Component {
Main div resized {this.state.count} times
-
+
);
diff --git a/lib/components/ResizeDetector.js b/lib/components/ResizeDetector.js
index 703f0ea..6284fb8 100644
--- a/lib/components/ResizeDetector.js
+++ b/lib/components/ResizeDetector.js
@@ -76,7 +76,6 @@ var ResizeDetector = function (_PureComponent) {
value: function render() {
var _this2 = this;
- console.log('RENDER');
return _react2.default.createElement('div', {
style: styles,
ref: function ref(el) {
diff --git a/package.json b/package.json
index 6bd375d..8c9d016 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"author": "Vitalii Maslianok (https://github.com/maslianok)",
- "version": "1.1.0",
+ "version": "2.0.0",
"bugs": {
"url": "https://github.com/maslianok/react-resize-detector/issues"
},