prakhar1989/react-tags

View on GitHub
src/components/SingleTag.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function SingleTag has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const SingleTag = (props: TagProps) => {
  const tagRef = useRef(null);
  const { readOnly, tag, classNames, index, moveTag, allowDragDrop } = props;

  const [{ isDragging }, drag] = useDrag(() => ({
Severity: Minor
Found in src/components/SingleTag.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status