segunolalive/helloBooks

View on GitHub
client/components/Dashboard/Borrowed.jsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function Borrowed has 52 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const Borrowed = (props) => {
  const books = props.borrowedBooks && props.borrowedBooks.length ?
    props.borrowedBooks.map(book =>
      <Col key={book.title} s={12} className="book-info grey-tex">
        <div className="card horizontal">
Severity: Major
Found in client/components/Dashboard/Borrowed.jsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status