import {
  useCollection
} from "./chunk-XKEYHWBS.js";
import "./chunk-YAUGB4LD.js";
import "./chunk-A5DJIOHN.js";
import "./chunk-RHKRREUU.js";
import "./chunk-ZA2KFUFR.js";
import "./chunk-DTGEFKK4.js";
import "./chunk-NBMM2TZK.js";

// src/pages/collections/[id]/breadcrumb.tsx
import { jsx } from "react/jsx-runtime";
var Breadcrumb = (props) => {
  const { id } = props.params || {};
  const { collection } = useCollection(id, void 0, {
    initialData: { collection: props.data?.collection }
  });
  if (!collection) return null;
  return /* @__PURE__ */ jsx("span", { children: collection.title });
};
export {
  Breadcrumb
};
