Remove findDOMNode and rename all Navbar to NavBar

findDOMNode should be avaided <https://facebook.github.io/react/docs/top-level-api.html#reactdom.finddomnode>
This commit is contained in:
Ra100
2016-06-30 15:05:04 +02:00
parent 24cca3b236
commit 7d90992aac
2 changed files with 9 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
var React = require('react');
var Navbar = React.createClass({
var NavBar = React.createClass({
render: function() {
@@ -86,4 +86,4 @@ var Navbar = React.createClass({
});
module.exports = Navbar;
module.exports = NavBar;