From a020391d93feb93f328cfca4edef6fb8a46cd86c Mon Sep 17 00:00:00 2001
From: hmhealey <harrisonmhealey@gmail.com>
Date: Wed, 2 Sep 2015 15:56:13 -0400
Subject: Replaced broken remaining calls to getDOMNode with React.findDOMNode

---
 web/react/components/setting_picture.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'web/react/components/setting_picture.jsx')

diff --git a/web/react/components/setting_picture.jsx b/web/react/components/setting_picture.jsx
index eaa839733..33c3b650a 100644
--- a/web/react/components/setting_picture.jsx
+++ b/web/react/components/setting_picture.jsx
@@ -12,7 +12,7 @@ export default class SettingPicture extends React.Component {
         if (file) {
             var reader = new FileReader();
 
-            var img = this.refs.image.getDOMNode();
+            var img = React.findDOMNode(this.refs.image);
             reader.onload = function load(e) {
                 $(img).attr('src', e.target.result);
             };
@@ -128,4 +128,4 @@ SettingPicture.propTypes = {
     submit: React.PropTypes.func,
     title: React.PropTypes.string,
     pictureChange: React.PropTypes.func
-};
\ No newline at end of file
+};
-- 
cgit v1.2.3-1-g7c22

