client/src/components/common/Header.js
Function HeaderRigth
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const HeaderRigth = () => {
if (auth.isAuthenticated) {
return (
<UncontrolledDropdown>
<DropdownToggle caret color="primary" className="mr-5">