mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -05:00
Merge pull request #399 from mewtaylor/issue/gh-398-jobs-error
Fix GH-398: Add page component to jobs view
This commit is contained in:
commit
1c20600272
1 changed files with 3 additions and 1 deletions
|
@ -2,6 +2,8 @@ var React = require('react');
|
||||||
var render = require('../../lib/render.jsx');
|
var render = require('../../lib/render.jsx');
|
||||||
var FormattedMessage = require('react-intl').FormattedMessage;
|
var FormattedMessage = require('react-intl').FormattedMessage;
|
||||||
|
|
||||||
|
var Page = require('../../components/page/page.jsx');
|
||||||
|
|
||||||
require('./jobs.scss');
|
require('./jobs.scss');
|
||||||
|
|
||||||
var Jobs = React.createClass({
|
var Jobs = React.createClass({
|
||||||
|
@ -52,4 +54,4 @@ var Jobs = React.createClass({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
render(<Jobs />, document.getElementById('view'));
|
render(<Page><Jobs /></Page>, document.getElementById('app'));
|
||||||
|
|
Loading…
Reference in a new issue