Files
dashboards/app/manage/[meshkeeId]/gallery/page.tsx
T

19 lines
583 B
TypeScript

"use client";
import { useParams } from "next/navigation";
import { BusinessListHeader } from "@/components/business/BusinessPageChrome";
import GalleryPanel from "@/components/catalog/GalleryPanel";
import { en } from "@/lib/i18n/en";
export default function ManageBusinessGalleryPage() {
const params = useParams<{ meshkeeId: string }>();
const meshkeeId = String(params.meshkeeId ?? "");
return (
<>
<BusinessListHeader title={en.gallery.title} lead={en.gallery.lead} />
<GalleryPanel meshkeeId={meshkeeId} emptyLabel={en.gallery.empty} />
</>
);
}