link-stack/apps/link/app/(main)/leafcutter/create/page.tsx
2024-04-21 20:47:55 +02:00

10 lines
262 B
TypeScript

import { getTemplates } from "opensearch-common";
import { Create } from "leafcutter-ui";
export const dynamic = "force-dynamic";
export default async function Page() {
const templates = await getTemplates(100);
return <Create templates={templates} />;
}