client/app/lib/components/navigation/BrandingHead.tsx
Function BrandingHead
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const BrandingHead = (props: BrandingHeadProps): JSX.Element => {
const { t } = useTranslation();
const courseSwitcherRef =
useRef<ComponentRef<typeof CourseSwitcherPopupMenu>>(null);
- Create a ticketCreate a ticket
Function UserMenuButton
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const UserMenuButton = (): JSX.Element | null => {
const { user } = useAppContext();
const auth = useAuthAdapter();
const { t } = useTranslation();
- Create a ticketCreate a ticket