"use client";
import { observer } from "mobx-react";
import Link from "next/link";
import { useTranslation } from "@plane/i18n";
// ui
import { Button, getButtonStyling } from "@plane/propel/button";
import { Logo } from "@plane/propel/emoji-icon-picker";
import { Row } from "@plane/ui";
// components
// hooks
import { useProject } from "@/hooks/store/use-project";
// plane web imports
import { ProjectFeaturesList } from "@/plane-web/components/projects/settings/features-list";
type Props = {
workspaceSlug: string;
projectId: string | null;
onClose: () => void;
};
export const ProjectFeatureUpdate = observer(function ProjectFeatureUpdate(props: Props) {
const { workspaceSlug, projectId, onClose } = props;
// store hooks
const { t } = useTranslation();
const { getProjectById } = useProject();
if (!workspaceSlug || !projectId) return null;
const currentProjectDetails = getProjectById(projectId);
if (!currentProjectDetails) return null;
return (
<>
{currentProjectDetails.name}
{" "} {t("created").toLowerCase()}.