1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-15 15:15:57 +00:00

Updating to user create-react-class

This commit is contained in:
Scott Tolksdorf
2018-04-08 23:52:35 -04:00
parent c4bff6afa0
commit f18a181e2e
35 changed files with 77 additions and 42 deletions

View File

@@ -1,10 +1,11 @@
const React = require('react');
const createClass = require('create-react-class');
const _ = require('lodash');
const cx = require('classnames');
const HomebrewAdmin = require('./homebrewAdmin/homebrewAdmin.jsx');
const Admin = React.createClass({
const Admin = createClass({
getDefaultProps : function() {
return {
url : '',