mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
Merge pull request #416 from mewtaylor/hotfix/wedo-page
[Master] Hotfix: Wrap wedo2 view in page component
This commit is contained in:
commit
8a8513a5cd
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 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'));
|
||||||
|
|
Loading…
Reference in a new issue