mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-25 02:53:53 +03:00
Upgrade dependencies, update to react,react-dom 0.14
This commit is contained in:
parent
0a1458cdbd
commit
fb227a6c15
|
@ -43,9 +43,9 @@
|
|||
"jsdom": "^6.5.1",
|
||||
"mocha": "^2.2.5",
|
||||
"mocha-jsdom": "^1.0.0",
|
||||
"react": "^0.14.0-rc1",
|
||||
"react": "^0.14.0",
|
||||
"react-addons-test-utils": "^0.14.0-rc1",
|
||||
"react-dom": "^0.14.0-rc1",
|
||||
"react-dom": "^0.14.0",
|
||||
"rimraf": "^2.3.4",
|
||||
"webpack": "^1.11.0"
|
||||
},
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import React, { PropTypes, findDOMNode, Component } from 'react';
|
||||
import React, { PropTypes, Component } from 'react';
|
||||
import LogMonitorEntry from './LogMonitorEntry';
|
||||
import LogMonitorButton from './LogMonitorButton';
|
||||
import * as themes from './themes';
|
||||
|
@ -69,7 +69,7 @@ export default class LogMonitor extends Component {
|
|||
};
|
||||
|
||||
componentWillReceiveProps(nextProps) {
|
||||
const node = findDOMNode(this.refs.elements);
|
||||
const node = this.refs.elements;
|
||||
if (!node) {
|
||||
this.scrollDown = true;
|
||||
} else if (
|
||||
|
@ -86,7 +86,7 @@ export default class LogMonitor extends Component {
|
|||
}
|
||||
|
||||
componentDidUpdate() {
|
||||
const node = findDOMNode(this.refs.elements);
|
||||
const node = this.refs.elements;
|
||||
if (!node) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user