import Image from "next/image"; import { notFound } from "next/navigation"; // components import IssueNavbar from "@/components/issues/navbar"; // services import ProjectService from "@/services/project.service"; // assets import planeLogo from "public/plane-logo.svg"; const projectService = new ProjectService(); export default async function ProjectLayout({ children, params }: { children: React.ReactNode; params: any }) { const { workspace_slug, project_id } = params; const projectSettings = await projectService.getProjectSettings(workspace_slug, project_id).catch(() => null); if (!projectSettings) { notFound(); } return (
); }