drinkingvideogames/mixer

View on GitHub
src/components/user/users-table.jsx

Summary

Maintainability
A
1 hr
Test Coverage

Showing 2 of 2 total issues

Function render has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

render () {
const users = (
this.props.users.toArray().map((user, i) =>
<TableRow key={i}>
<TableRowColumn>{i + 1}</TableRowColumn>
Severity: Minor
Found in src/components/user/users-table.jsx - About 1 hr to fix

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    const mapDispatchToProps = (dispatch) => {
    return {
    usersLoad: () => { dispatch({ type: 'USERS_LOAD', payload: {} }) }
    }
    }
    Severity: Minor
    Found in src/components/user/users-table.jsx and 1 other location - About 35 mins to fix
    src/components/user/profile.jsx on lines 79..83

    There are no issues that match your filters.

    Category
    Status