Fixing state and props on navbar

This commit is contained in:
Scott Tolksdorf
2016-09-14 09:53:27 -04:00
parent e6be1ae12f
commit a107d59d72
+7 -2
View File
@@ -4,10 +4,15 @@ var _ = require('lodash');
var Nav = require('naturalcrit/nav/nav.jsx');
var Navbar = React.createClass({
getDefaultProps: function() {
return {
ver : '0.0.0'
};
},
getInitialState: function() {
return {
showNonChromeWarning : false,
ver : '0.0.0'
showNonChromeWarning : false
};
},