0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-21 02:52:43 +00:00

Updating to user create-react-class

This commit is contained in:
Scott Tolksdorf
2018-04-08 23:52:35 -04:00
committed by Trevor Buckner
parent 47429d804a
commit 907dbe4416
35 changed files with 77 additions and 42 deletions

View File

@@ -1,9 +1,10 @@
const React = require('react');
const createClass = require('create-react-class');
const _ = require('lodash');
const Nav = require('naturalcrit/nav/nav.jsx');
const Navbar = React.createClass({
const Navbar = createClass({
getInitialState : function() {
return {
//showNonChromeWarning : false,