tomchentw/react-toastr

View on GitHub
src/components/ToastContainer.jsx

Summary

Maintainability
A
1 hr
Test Coverage

Function handleNotify has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  handleNotify(type, message, title, optionsOverride = {}) {
    if (
      this.props.preventDuplicates &&
      _.includes(this.state.toastList, { message })
    ) {
Severity: Minor
Found in src/components/ToastContainer.jsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status