Skip to content

Commit f88d85b

Browse files
committed
add missing line
1 parent 9aff866 commit f88d85b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mdx.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ export async function getFileBySlug(slug: string): Promise<SlugFile> {
694694
return resultObj;
695695
}
696696

697-
697+
const fileBySlugCache = new Map<string, Promise<SlugFile>>();
698698

699699
/**
700700
* Cache the result of {@link getFileBySlug}.

0 commit comments

Comments
 (0)