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'); ...@@ -14,7 +14,7 @@ var SubNavigation = require('../../components/subnavigation/subnavigation.jsx');
require('./download.scss'); require('./download.scss');
require('../../components/forms/button.scss'); require('../../components/forms/button.scss');
var Download = React.createClass({ var Download = injectIntl(React.createClass({
type: 'Download', type: 'Download',
getInitialState: function () { getInitialState: function () {
return { return {
...@@ -240,7 +240,6 @@ var Download = React.createClass({ ...@@ -240,7 +240,6 @@ var Download = React.createClass({
</div> </div>
); );
} }
}); }));
var IntlDownload = injectIntl(Download); render(<Page><Download /></Page>, document.getElementById('app'));
render(<Page><IntlDownload /></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