- {initials} -
- )} -0 && "border border-gray-400 hover:bg-gray-100 transition cursor-pointer" - }`} - > - {remainingAvatars.length > 0 && +{remainingAvatars.length}} -
-- {category} -
- ); - })} - > - ); -} diff --git a/src/components/RequestBoardTable/BoardDetailsRow.tsx b/src/components/RequestBoardTable/BoardDetailsRow.tsx deleted file mode 100644 index a130fef..0000000 --- a/src/components/RequestBoardTable/BoardDetailsRow.tsx +++ /dev/null @@ -1,65 +0,0 @@ -"use client"; - -import { useState } from "react"; -import AvatarGroup from "../AvatarGroup"; -import Button from "../Button"; -import SkillLabel from "../SkillLabel"; -import VotesListModal from "../VotesListModal"; - -type VotesTypes = { - img?: string; - date: string; - name: string; - reason: string; -}; - -type BoardDetailsRowProps = { - name: string; - skill: string; - colorScheme: string; - votes: VotesTypes[]; - openDetails: () => void; -}; - -export default function BoardDetailsRow({ name, skill, votes, colorScheme, openDetails }: BoardDetailsRowProps) { - const [isModalOpen, setIsModalOpen] = useState(false); - - return ( -- {name} -
- -+8
-{title}
-- {date} -
-{description}
-- {votes.length} -
-- {showFullDescription ? description : description.slice(0, TRUNCATION_LENGTH)} - {showToggleDescButton ? ( - - ) : null} -
-