import { observer } from "mobx-react"; // hooks import { useCycle } from "hooks/store"; // components import { UpcomingCycleListItem } from "components/cycles"; export const UpcomingCyclesList = observer(() => { // store hooks const { currentProjectUpcomingCycleIds } = useCycle(); if (!currentProjectUpcomingCycleIds) return null; return (
Upcoming cycles
{currentProjectUpcomingCycleIds.map((cycleId) => ( ))}
); });