From c5e6eac18404fa597b8915d14120e6e0d6088809 Mon Sep 17 00:00:00 2001 From: Rob Sharp Date: Mon, 14 Sep 2015 14:39:09 +1000 Subject: [PATCH] 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. --- src/react/LogMonitor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/react/LogMonitor.js b/src/react/LogMonitor.js index d960f460..80a9c6a7 100644 --- a/src/react/LogMonitor.js +++ b/src/react/LogMonitor.js @@ -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';