jonathan-irvin/jelly-fin

View on GitHub
src/components/Session/withAuthorization.js

Summary

Maintainability
A
1 hr
Test Coverage

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

const withAuthorization = condition => Component => {
  class WithAuthorization extends React.Component {
    componentDidMount() {
      this.listener = this.props.firebase.onAuthUserListener(
        authUser => {
Severity: Minor
Found in src/components/Session/withAuthorization.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status