digitalfabrik/integreat-app

View on GitHub
web/src/components/LanguageSelector.tsx

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Function LanguageSelector has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const LanguageSelector = (props: LanguageSelectorProps): ReactElement => {
  const { isHeaderActionItem, languageChangePaths, languageCode, inKebabMenu = false, closeSidebar } = props
  const activeItemCode = languageCode
  const { t } = useTranslation('layout')

Severity: Minor
Found in web/src/components/LanguageSelector.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status