import { FC } from "react"; import { ChevronDown } from "lucide-react"; import { observer } from "mobx-react-lite"; // hooks import { useViewDetail } from "hooks/store"; // components // types import { TViewTypes } from "@plane/types"; import { TViewOperations } from "../types"; type TViewEditDropdown = { workspaceSlug: string; projectId: string | undefined; viewId: string; viewType: TViewTypes; viewOperations: TViewOperations; }; export const ViewEditDropdown: FC = observer((props) => { const { workspaceSlug, projectId, viewId, viewType, viewOperations } = props; // hooks const viewDetailStore = useViewDetail(workspaceSlug, projectId, viewId, viewType); if (!viewDetailStore?.isFiltersUpdateEnabled) return <>; return ( <>
); });