mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-23 09:53:06 +00:00
all imports
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import React, {createClass} from 'react';
|
||||
import React from 'react';
|
||||
import createReactClass from 'create-react-class';
|
||||
import request from 'superagent';
|
||||
|
||||
const BrewCleanup = createClass({
|
||||
const BrewCleanup = createReactClass({
|
||||
displayName : 'BrewCleanup',
|
||||
getDefaultProps(){
|
||||
return {};
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
import React, {createClass} from 'react';
|
||||
import React from 'react';
|
||||
import createReactClass from 'create-react-class';
|
||||
import request from 'superagent';
|
||||
|
||||
const BrewCompress = createClass({
|
||||
const BrewCompress = createReactClass({
|
||||
displayName : 'BrewCompress',
|
||||
getDefaultProps(){
|
||||
return {};
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import React, {createClass} from 'react';
|
||||
import React from 'react';
|
||||
import createReactClass from 'create-react-class';
|
||||
import request from 'superagent';
|
||||
import cx from 'classnames';
|
||||
|
||||
import Moment from 'moment';
|
||||
|
||||
const BrewLookup = createClass({
|
||||
const BrewLookup = createReactClass({
|
||||
getDefaultProps() {
|
||||
return {};
|
||||
},
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
import React, {createClass} from 'react';
|
||||
import React from 'react';
|
||||
import createReactClass from 'create-react-class';
|
||||
import request from 'superagent';
|
||||
|
||||
const Stats = createClass({
|
||||
const Stats = createReactClass({
|
||||
displayName : 'Stats',
|
||||
getDefaultProps(){
|
||||
return {};
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
/*eslint max-lines: ["warn", {"max": 500, "skipBlankLines": true, "skipComments": true}]*/
|
||||
require('./lockTools.less');
|
||||
import React, {createClass} from 'react';
|
||||
import './lockTools.less';
|
||||
import React from 'react';
|
||||
import createReactClass from 'create-react-class';
|
||||
|
||||
import request from '../../homebrew/utils/request-middleware.js';
|
||||
|
||||
const LockTools = createClass({
|
||||
const LockTools = createReactClass({
|
||||
displayName : 'LockTools',
|
||||
getInitialState : function() {
|
||||
return {
|
||||
@@ -54,7 +55,7 @@ const LockTools = createClass({
|
||||
}
|
||||
});
|
||||
|
||||
const LockBrew = createClass({
|
||||
const LockBrew = createReactClass({
|
||||
displayName : 'LockBrew',
|
||||
getInitialState : function() {
|
||||
// Default values
|
||||
@@ -182,7 +183,7 @@ const LockBrew = createClass({
|
||||
}
|
||||
});
|
||||
|
||||
const LockTable = createClass({
|
||||
const LockTable = createReactClass({
|
||||
displayName : 'LockTable',
|
||||
getDefaultProps : function() {
|
||||
return {
|
||||
@@ -272,7 +273,7 @@ const LockTable = createClass({
|
||||
}
|
||||
});
|
||||
|
||||
const LockLookup = createClass({
|
||||
const LockLookup = createReactClass({
|
||||
displayName : 'LockLookup',
|
||||
getDefaultProps : function() {
|
||||
return {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
require('./notificationAdd.less');
|
||||
import './notificationAdd.less';
|
||||
import React, { useState, useRef } from 'react';
|
||||
import request from 'superagent';
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
require('./notificationLookup.less');
|
||||
|
||||
import './notificationLookup.less';
|
||||
import React, { useState} from 'react';
|
||||
import request from 'superagent';
|
||||
import Moment from 'moment';
|
||||
|
||||
Reference in New Issue
Block a user