schneidmaster/debatevid.io

View on GitHub
app/assets/components/Videos/components/VideosTable/index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function mapStateToProps has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const mapStateToProps = (state, ownProps) => {
  const page = state.getIn(["common", "page"]);
  const itemsPerPage = state.getIn(["common", "itemsPerPage"]);
  const start = itemsPerPage * (page - 1);
  const searchTerm = state.getIn(["common", "searchTerm"]);
Severity: Minor
Found in app/assets/components/Videos/components/VideosTable/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status