import Link from "next/link"; import { useRouter } from "next/router"; import { Draggable } from "@hello-pangea/dnd"; import { observer } from "mobx-react-lite"; // types import { IIssue } from "types"; type Props = { issues: IIssue[] | null }; export const CalendarIssueBlocks: React.FC = observer((props) => { const { issues } = props; const router = useRouter(); const { workspaceSlug } = router.query; return (
{issues?.map((issue, index) => ( {(provided, snapshot) => (
{issue.project_detail.identifier}-{issue.sequence_id}
{issue.name}
)}
))}
); });