mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
[ci] format
This commit is contained in:
parent
cb838b84b4
commit
1d4f91b033
1 changed files with 1 additions and 5 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue