myems-web/src/hoc/withAuthSplit.js

Summary

Maintainability
A
2 hrs
Test Coverage

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

const withAuthSplit = OriginalComponent => {
  const UpdatedComponent = props => {
    // State
    const [bgProps, setBgProps] = useState(null);

Severity: Minor
Found in myems-web/src/hoc/withAuthSplit.js - About 1 hr to fix

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

      const UpdatedComponent = props => {
        // State
        const [bgProps, setBgProps] = useState(null);
    
        return (
    Severity: Minor
    Found in myems-web/src/hoc/withAuthSplit.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status