From 1b0a8b00c2eca631a1b1005c256509295a414eef Mon Sep 17 00:00:00 2001 From: Ben Holmes Date: Thu, 27 Apr 2023 11:34:51 -0400 Subject: [PATCH] chore: removed unneeded await Co-authored-by: Bjorn Lu --- packages/astro/src/content/runtime.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/astro/src/content/runtime.ts b/packages/astro/src/content/runtime.ts index db565ea63..6831765fb 100644 --- a/packages/astro/src/content/runtime.ts +++ b/packages/astro/src/content/runtime.ts @@ -88,7 +88,7 @@ export function createGetEntryBySlug({ getRenderEntryImport: GetEntryImport; }) { return async function getEntryBySlug(collection: string, slug: string) { - const entryImport = await getEntryImport(collection, slug); + const entryImport = getEntryImport(collection, slug); if (typeof entryImport !== 'function') return undefined; const entry = await entryImport();