import { useState } from "react";
import { observer } from "mobx-react";
import { Search } from "lucide-react";
// hooks
// components
import { Input } from "@plane/ui";
import { EmptyState } from "@/components/empty-state";
import { ViewListLoader } from "@/components/ui";
import { ProjectViewListItem } from "@/components/views";
// ui
// constants
import { EmptyStateType } from "@/constants/empty-state";
import { useCommandPalette, useProjectView } from "@/hooks/store";
export const ProjectViewsList = observer(() => {
// states
const [query, setQuery] = useState("");
// store hooks
const { toggleCreateViewModal } = useCommandPalette();
const { projectViewIds, getViewById, loader } = useProjectView();
if (loader || !projectViewIds) return
No results found
)}