2024-03-20 17:51:21 +01:00
|
|
|
import { getTemplates } from "opensearch-common";
|
|
|
|
|
import { Create } from "leafcutter-ui";
|
2023-08-25 07:11:33 +00:00
|
|
|
|
2024-04-21 20:47:55 +02:00
|
|
|
export const dynamic = "force-dynamic";
|
|
|
|
|
|
2023-08-25 07:11:33 +00:00
|
|
|
export default async function Page() {
|
2024-03-20 17:51:21 +01:00
|
|
|
const templates = await getTemplates(100);
|
2023-08-25 07:11:33 +00:00
|
|
|
|
2024-03-20 17:51:21 +01:00
|
|
|
return <Create templates={templates} />;
|
2023-08-25 07:11:33 +00:00
|
|
|
}
|