"use client"; import React, { FC } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; import { useTranslation } from "@plane/i18n"; // ui import { Button, getButtonStyling, Row } from "@plane/ui"; // components import { Logo } from "@/components/common"; import { ProjectFeaturesList } from "@/components/project/settings"; // hooks import { useProject } from "@/hooks/store"; type Props = { workspaceSlug: string; projectId: string | null; onClose: () => void; }; export const ProjectFeatureUpdate: FC = observer((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 ( <>
{t("congrats")}! {t("project")} {" "}

{currentProjectDetails.name}

{t("created").toLowerCase()}.
{t("open_project")}
); });