0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-28 15:42:38 +00:00

Fixing state and props on navbar

This commit is contained in:
Scott Tolksdorf
2016-09-09 08:46:33 -04:00
parent e6be1ae12f
commit a107d59d72

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
};
},