import { FC } from "react"; import { Inbox } from "lucide-react"; import { observer } from "mobx-react"; // hooks import { useInboxIssues } from "hooks/store"; // ui import { Loader } from "@plane/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(); return (
Inbox
{loader && ["init-loader", "mutation"].includes(loader) ? ( ) : (
)}
); });