Wrap wedo2 view in page component

This commit is contained in:
Matthew Taylor 2016-04-07 16:49:35 -04:00
parent 341e09acff
commit 7aeaaeb480

View file

@ -2,6 +2,7 @@ var FormattedHTMLMessage = require('react-intl').FormattedHTMLMessage;
var FormattedMessage = require('react-intl').FormattedMessage; var FormattedMessage = require('react-intl').FormattedMessage;
var React = require('react'); var React = require('react');
var Page = require('../../components/page/page.jsx');
var render = require('../../lib/render.jsx'); var render = require('../../lib/render.jsx');
require('./wedo2.scss'); require('./wedo2.scss');
@ -130,4 +131,4 @@ var Wedo2 = React.createClass({
} }
}); });
render(<Wedo2 />, document.getElementById('view')); render(<Page><Wedo2 /></Page>, document.getElementById('app'));