Showing 3 of 3 total issues
Function reducer
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function reducer(state = initialState, action) {
let list
switch (action.type) {
case ADD_ITEM_SUCCESS:
Function render
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
let items, readonlyMessage
if (this.props.connected) {
items = this.props.onlineItems
} else if (this.props.connectionChecked) {
Function _checkForRemoval
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_checkForRemoval() {
this.state.pan.flattenOffset()
let x = this.state.pan.x._value
if (Math.abs(x) > 50) {
this.refs.wrapper.measure((ox, oy, width) => {