thiskevinwang/coffee-code-climb

View on GitHub
src/components/layoutManager.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function LayoutManager has 67 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const LayoutManager: React.FC<Props> = (props) => {
  const { pathname } = props.location
  const [showModal, setShowModal] = useState(false)
  const [shouldExit, setShouldExit] = useState(false)
  const [neverShowModalChecked, toggleNeverShowModalChecked] = useReducer(
Severity: Major
Found in src/components/layoutManager.tsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status