Commit 8b055d89 authored by chrisgarrity's avatar chrisgarrity

follow injectIntl convention

wrap the createClass with injectIntl to be consistent with other uses in www
parent b48411a8
......@@ -14,7 +14,7 @@ var SubNavigation = require('../../components/subnavigation/subnavigation.jsx');
require('./download.scss');
require('../../components/forms/button.scss');
var Download = React.createClass({
var Download = injectIntl(React.createClass({
type: 'Download',
getInitialState: function () {
return {
......@@ -240,7 +240,6 @@ var Download = React.createClass({
</div>
);
}
});
}));
var IntlDownload = injectIntl(Download);
render(<Page><IntlDownload /></Page>, document.getElementById('app'));
render(<Page><Download /></Page>, document.getElementById('app'));
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment