17 lines
408 B
TypeScript
17 lines
408 B
TypeScript
"use client";
|
|
|
|
import { EditorShell } from "@/app/_components/editor-shell";
|
|
import { collectionsConfig } from "@/config/configs";
|
|
import schema from "@/app.schema.json";
|
|
|
|
export default function CollectionEditorPage() {
|
|
const data = (schema as any)["/collections/:handle"];
|
|
return (
|
|
<EditorShell
|
|
config={collectionsConfig}
|
|
data={data}
|
|
routeKey="/collections/:handle"
|
|
/>
|
|
);
|
|
}
|