mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -05:00
Merge pull request #417 from mewtaylor/hotfix/wedo-page
[Develop] Hotfix: Wrap wedo2 view in page component
This commit is contained in:
commit
8fd4b154b2
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