import { observer } from "mobx-react-lite";
// hooks
import { useApplication, useProject } from "hooks/store";
// components
import { ProjectCard } from "components/project";
import { Loader } from "@plane/ui";
// images
import emptyProject from "public/empty-state/empty_project.webp";
// icons
import { NewEmptyState } from "components/common/new-empty-state";
export const ProjectCardList = observer(() => {
// store hooks
const {
commandPalette: commandPaletteStore,
eventTracker: { setTrackElement },
} = useApplication();
const { workspaceProjects, searchedProjects, getProjectById } = useProject();
if (!workspaceProjects) {
return (