anyone-oslo/pages

View on GitHub
app/javascript/components/TagEditor.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function TagEditor has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function TagEditor(props: Props) {
  const [tags, setTags] = useState(props.tags);
  const [enabled, setEnabled] = useState(props.enabled);

  const tagList = [...tags, ...enabled].filter(onlyUnique);
Severity: Minor
Found in app/javascript/components/TagEditor.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status