src/components/Tag/TaskTags.tsx
Function TaskTags
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function TaskTags(props: Props): JSX.Element {
const [hoverRef, isHovered] = useHover(200)
const tags = props.tags.slice(0, TagCountMax)
const isOmit = props.tags.length > TagCountMax
const omitCount = props.tags.length - TagCountMax