mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-04 06:02:46 +00:00
Updating to user create-react-class
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
|
||||
const React = require('react');
|
||||
const createClass = require('create-react-class');
|
||||
const _ = require('lodash');
|
||||
const cx = require('classnames');
|
||||
|
||||
const DISMISS_KEY = 'dismiss_render_warning';
|
||||
|
||||
const RenderWarnings = React.createClass({
|
||||
const RenderWarnings = createClass({
|
||||
getInitialState : function() {
|
||||
return {
|
||||
warnings : {}
|
||||
|
||||
Reference in New Issue
Block a user