0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

[ci] format

This commit is contained in:
matthewp 2023-09-22 22:14:57 +00:00 committed by astrobot-houston
parent cb838b84b4
commit 1d4f91b033

View file

@ -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);