"use client";

import { Render } from "@reacteditor/core";
import { collectionsConfig } from "@/editor.config";
import schema from "@/app.schema.json";

export default function CollectionPage() {
  const pageData = (schema as any)["/collections/:handle"];
  return <Render config={collectionsConfig as any} data={pageData} />;
}
