src/components/layoutManager.tsx
Function LayoutManager
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
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(