aboutsummaryrefslogtreecommitdiff
path: root/src/web/js/components/Navbar.react.js
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2017-11-19 14:29:04 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2017-11-19 14:29:04 +0100
commitd2f51aa66b50cd058d8b2beafd5da70c84a47d95 (patch)
treef549dfea80a543ed17fcb03b5553a83d3848acbb /src/web/js/components/Navbar.react.js
parentFixed problem with version of GLIBC_PRIVATE not defined in file libc.so.6 wit... (diff)
parentUpdated Python runtime to 3.6.2 on Heroku. (diff)
downloadnewspipe-d2f51aa66b50cd058d8b2beafd5da70c84a47d95.tar.gz
newspipe-d2f51aa66b50cd058d8b2beafd5da70c84a47d95.tar.bz2
newspipe-d2f51aa66b50cd058d8b2beafd5da70c84a47d95.zip
Merge branch 'master' of github.com:JARR-aggregator/JARR
Diffstat (limited to 'src/web/js/components/Navbar.react.js')
-rw-r--r--src/web/js/components/Navbar.react.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/web/js/components/Navbar.react.js b/src/web/js/components/Navbar.react.js
index ca2ff27b..83f3c72c 100644
--- a/src/web/js/components/Navbar.react.js
+++ b/src/web/js/components/Navbar.react.js
@@ -1,4 +1,5 @@
var React = require('react');
+var createReactClass = require('create-react-class');
var Glyphicon = require('react-bootstrap/lib/Glyphicon');
var Nav = require('react-bootstrap/lib/Nav');
var NavItem = require('react-bootstrap/lib/NavItem');
@@ -11,7 +12,7 @@ var Input = require('react-bootstrap/lib/Input');
var MenuStore = require('../stores/MenuStore');
-JarrNavBar = React.createClass({
+JarrNavBar = createReactClass({
getInitialState: function() {
return {is_admin: MenuStore._datas.is_admin,
crawling_method: MenuStore._datas.crawling_method,
bgstack15