The creation of react-dom has moved findDOMNode

As mentioned in
[this post](https://facebook.github.io/react/blog/2015/07/03/react-v0.14-beta-1.html)
`react-dom`has a number of methods originally part of `react`. One of
these methods is `findDOMNode` which is used by `LogMonitor`.

This commit uses `findDOMNode` from `react-dom` as per advice issued in
the deprecation warning.
This commit is contained in:
Rob Sharp 2015-09-14 14:39:09 +10:00
parent fc839a0896
commit c5e6eac184

View File

@ -1,4 +1,5 @@
import React, { PropTypes, findDOMNode, Component } from 'react';
import React, { PropTypes, Component } from 'react';
import { findDOMNode } from 'react-dom';
import LogMonitorEntry from './LogMonitorEntry';
import LogMonitorButton from './LogMonitorButton';
import * as themes from './themes';