summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro/src/content/runtime.ts6
1 files changed, 1 insertions, 5 deletions
diff --git a/packages/astro/src/content/runtime.ts b/packages/astro/src/content/runtime.ts
index 2dd805208..e507149fe 100644
--- a/packages/astro/src/content/runtime.ts
+++ b/packages/astro/src/content/runtime.ts
@@ -138,11 +138,7 @@ export function createGetEntryBySlug({
};
}
-export function createGetDataEntryById({
- getEntryImport,
-}: {
- getEntryImport: GetEntryImport;
-}) {
+export function createGetDataEntryById({ getEntryImport }: { getEntryImport: GetEntryImport }) {
return async function getDataEntryById(collection: string, id: string) {
const lazyImport = await getEntryImport(collection, id);