import React from "react"; import { Disclosure } from "@headlessui/react"; import { observer } from "mobx-react-lite"; // mobx store import { useMobxStore } from "lib/mobx/store-provider"; import { RootStore } from "store/root"; // components import { IssueListView } from "./list"; import { IssueListGroupHeader } from "./group-header"; export const IssueListViewRoot = observer(() => { const { issueView: issueViewStore, issueFilters: issueFilterStore }: RootStore = useMobxStore(); console.log("issueViewStore", issueViewStore); console.log("userFilters", issueFilterStore.userFilters); console.log("issueFilterStore", issueFilterStore); return (
{issueViewStore.loader || issueViewStore?.getIssues === null ? (
Loading...
) : ( <> {Object.keys(issueViewStore?.getIssues).map((groupId: any) => ( {({ open }) => ( <> )} ))} )}
); });