"use client"; import type { FC } from "react"; import React from "react"; 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: 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")}

{currentProjectDetails.name}

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