Skip to content

Commit

Permalink
Use react-dom in gradient example
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxracer committed Jan 8, 2016
1 parent 769aee1 commit d6f55df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/gradient/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
'use strict';

var React = require('react');
var ReactDOM = require('react-dom');
var ReactCanvas = require('react-canvas');

var Gradient = ReactCanvas.Gradient;
Expand Down Expand Up @@ -43,4 +44,4 @@ var App = React.createClass({

});

React.render(<App />, document.getElementById('main'));
ReactDOM.render(<App />, document.getElementById('main'));

0 comments on commit d6f55df

Please sign in to comment.