src/components/SingleTag.tsx
Function SingleTag
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const SingleTag = (props: TagProps) => {
const tagRef = useRef(null);
const { readOnly, tag, classNames, index, moveTag, allowDragDrop } = props;
const [{ isDragging }, drag] = useDrag(() => ({