File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,9 @@ export const getStaticPaths: GetStaticPaths = async ({ paginate }) => {
1717 );
1818
1919 // Collect all unique tags
20- const allTags = [... new Set (blogEntries .flatMap ((entry ) => entry .data .tags ))].sort ();
20+ const allTags = [
21+ ... new Set (blogEntries .flatMap ((entry ) => entry .data .tags ))
22+ ].sort ();
2123
2224 return paginate (blogEntries , {
2325 pageSize: 10 ,
Original file line number Diff line number Diff line change @@ -19,7 +19,9 @@ export const getStaticPaths: GetStaticPaths = async ({ paginate }) => {
1919 );
2020
2121 // Collect all unique tags
22- const allTags = [... new Set (blogEntries .flatMap ((entry ) => entry .data .tags ))].sort ();
22+ const allTags = [
23+ ... new Set (blogEntries .flatMap ((entry ) => entry .data .tags ))
24+ ].sort ();
2325
2426 // Create pages for each tag
2527 return allTags .flatMap ((tag ) => {
You can’t perform that action at this time.
0 commit comments