app/javascript/react_app/components/shared/navbar.tsx
Function Navbar
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const Navbar = (): JSX.Element => {
const isUserLoggedIn = useAppSelector(state => state.userData.isLoggedIn)
let authenticationLink: string
let authenticationLinkMethod: string
let authenticationText: string