mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-26 17:16:11 -05:00
Wrap wedo2 view in page component
This commit is contained in:
parent
341e09acff
commit
7aeaaeb480
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@ var FormattedHTMLMessage = require('react-intl').FormattedHTMLMessage;
|
|||
var FormattedMessage = require('react-intl').FormattedMessage;
|
||||
var React = require('react');
|
||||
|
||||
var Page = require('../../components/page/page.jsx');
|
||||
var render = require('../../lib/render.jsx');
|
||||
|
||||
require('./wedo2.scss');
|
||||
|
@ -130,4 +131,4 @@ var Wedo2 = React.createClass({
|
|||
}
|
||||
});
|
||||
|
||||
render(<Wedo2 />, document.getElementById('view'));
|
||||
render(<Page><Wedo2 /></Page>, document.getElementById('app'));
|
||||
|
|
Loading…
Reference in a new issue