import { FC } from "react"; // components import { TLabelOperations } from "../root"; import { IssueLabelSelect } from "./label-select"; // types type TIssueLabelSelectRoot = { workspaceSlug: string; projectId: string; issueId: string; labelOperations: TLabelOperations; }; export const IssueLabelSelectRoot: FC = (props) => { const { workspaceSlug, projectId, issueId, labelOperations } = props; const handleLabel = async (_labelIds: string[]) => { await labelOperations.updateIssue(workspaceSlug, projectId, issueId, { label_ids: _labelIds }); }; return ( ); };