diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2017-09-26 23:00:45 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2017-09-26 23:00:45 +0200 |
commit | f509ad70664c360920bfd1bd9b302e4eeb3043df (patch) | |
tree | 383dcd3813913ac72af8be58549440da50b4e234 /src/web/js/components/MainApp.react.js | |
parent | renew certificate (diff) | |
download | newspipe-f509ad70664c360920bfd1bd9b302e4eeb3043df.tar.gz newspipe-f509ad70664c360920bfd1bd9b302e4eeb3043df.tar.bz2 newspipe-f509ad70664c360920bfd1bd9b302e4eeb3043df.zip |
Upgrade to React v16.0.0.
Diffstat (limited to 'src/web/js/components/MainApp.react.js')
-rw-r--r-- | src/web/js/components/MainApp.react.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/web/js/components/MainApp.react.js b/src/web/js/components/MainApp.react.js index 8105d32f..32bb663e 100644 --- a/src/web/js/components/MainApp.react.js +++ b/src/web/js/components/MainApp.react.js @@ -1,13 +1,15 @@ var React = require('react'); +var createReactClass = require('create-react-class'); var Col = require('react-bootstrap/lib/Col'); var Grid = require('react-bootstrap/lib/Grid'); +var PropTypes = require('prop-types'); var Menu = require('./Menu.react'); var MiddlePanel = require('./MiddlePanel.react'); var RightPanel = require('./RightPanel.react'); -var MainApp = React.createClass({ +var MainApp = createReactClass({ render: function() { return (<div> <Grid fluid id="newspipe-container"> |