jonathan-irvin/jelly-fin

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

Summary

Maintainability
A
3 hrs
Test Coverage

Function withEmailVerification has 46 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const withEmailVerification = Component => {
  class WithEmailVerification extends React.Component {
    constructor(props) {
      super(props);

Severity: Minor
Found in src/components/Session/withEmailVerification.js - About 1 hr to fix

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

        render() {
          return (
            <AuthUserContext.Consumer>
              {authUser =>
                needsEmailVerification(authUser) ? (
    Severity: Minor
    Found in src/components/Session/withEmailVerification.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status