--- import type { EndpointCredit } from "src/shared/payload/payload-sdk"; import { getI18n } from "src/i18n/i18n"; import InlineMetadata from "./InlineMetadata.astro"; interface Props { credits: EndpointCredit[]; } const { credits } = Astro.props; const { getLocalizedMatch } = await getI18n(Astro.locals.currentLocale); --- {/* ------------------------------------------- HTML ------------------------------------------- */}