"use client"; // mobx react lite import { observer } from "mobx-react-lite"; // components import { IssueBlockPriority } from "components/issues/board-views/block-priority"; import { IssueBlockState } from "components/issues/board-views/block-state"; import { IssueBlockLabels } from "components/issues/board-views/block-labels"; import { IssueBlockDueDate } from "components/issues/board-views/block-due-date"; // mobx hook import { useMobxStore } from "lib/mobx/store-provider"; // interfaces import { IIssue } from "store/types/issue"; import { RootStore } from "store/root"; export const IssueListBlock = observer(({ issue }: { issue: IIssue }) => { const store: RootStore = useMobxStore(); return (
{ store.issue.setActivePeekOverviewIssueId(issue.id); }} className="text-[0.825rem] font-medium text-sm truncate text-custom-text-100" > {issue.name}