import { FC } from "react"; import { Inbox } from "lucide-react"; import { observer } from "mobx-react"; // hooks import { useInboxIssues } from "hooks/store"; // ui import { InboxSidebarLoader } from "components/ui"; // components import { InboxIssueList, InboxIssueFilterSelection, InboxIssueAppliedFilter } from "../"; type TInboxSidebarRoot = { workspaceSlug: string; projectId: string; inboxId: string; }; export const InboxSidebarRoot: FC = observer((props) => { const { workspaceSlug, projectId, inboxId } = props; // store hooks const { issues: { loader }, } = useInboxIssues(); if (loader === "init-loader") { return ; } return (
); });