From 712f38883b7018ed806374bfc020ad3f123b7661 Mon Sep 17 00:00:00 2001 From: David Blurton Date: Mon, 31 Aug 2015 13:17:58 +0000 Subject: [PATCH] Use react-dom --- examples/custom-validation/app.js | 3 ++- examples/login/app.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/custom-validation/app.js b/examples/custom-validation/app.js index bd5fd32..03a5b9a 100644 --- a/examples/custom-validation/app.js +++ b/examples/custom-validation/app.js @@ -1,4 +1,5 @@ var React = require('react'); +var ReactDOM = require('react-dom'); var Formsy = require('formsy-react'); var currentYear = new Date().getFullYear(); @@ -120,4 +121,4 @@ var Validations = React.createClass({ } }); -React.render(, document.getElementById('example')); +ReactDOM.render(, document.getElementById('example')); diff --git a/examples/login/app.js b/examples/login/app.js index 24439c2..d6e0da8 100644 --- a/examples/login/app.js +++ b/examples/login/app.js @@ -1,4 +1,5 @@ var React = require('react'); +var ReactDOM = require('react-dom'); var Formsy = require('formsy-react'); var App = React.createClass({ @@ -62,4 +63,4 @@ var MyOwnInput = React.createClass({ } }); -React.render(, document.getElementById('example')); +ReactDOM.render(, document.getElementById('example'));