21 lines
571 B
TypeScript
21 lines
571 B
TypeScript
"use client";
|
|
|
|
import { useParams } from "next/navigation";
|
|
import AddPortfolioForm from "@/components/catalog/AddPortfolioForm";
|
|
import { en } from "@/lib/i18n/en";
|
|
|
|
export default function ManageAddPortfolioPage() {
|
|
const params = useParams<{ meshkeeId: string }>();
|
|
const meshkeeId = String(params.meshkeeId ?? "");
|
|
const listHref = `/manage/${encodeURIComponent(meshkeeId)}/portfolios`;
|
|
|
|
return (
|
|
<AddPortfolioForm
|
|
meshkeeId={meshkeeId}
|
|
listHref={listHref}
|
|
title={en.portfolios.addTitle}
|
|
lead={en.portfolios.addLead}
|
|
/>
|
|
);
|
|
}
|