We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 116489f commit 21201e3Copy full SHA for 21201e3
1 file changed
src/pages/_utils.ts
@@ -365,8 +365,8 @@ export const generateJumpToState = async (
365
category ===
366
(collectionType === "examples"
367
? getExampleCategory(entry.slug)
368
- // @ts-expect-error - We know that the category exists because of the collection type
369
- : entry.data.category ?? ""),
+ : // @ts-expect-error - We know that the category exists because of the collection type
+ entry.data.category ?? ""),
370
);
371
372
// Add the entries in the category to the jumpToLinks
0 commit comments