File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
src/components/learn-aggregator Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -144,13 +144,12 @@ const _items: Record<
144144 } ,
145145}
146146
147- export const learnPages = _items as Record < LearnPagePath , LearnPageItem | null >
147+ const learnPages = _items as Record < LearnPagePath , LearnPageItem | null >
148148
149- export const pagesBySection : Record < LearnPageItem [ "section" ] , LearnPageItem [ ] > =
150- {
151- "getting-started" : [ ] ,
152- "best-practices" : [ ] ,
153- }
149+ const pagesBySection : Record < LearnPageItem [ "section" ] , LearnPageItem [ ] > = {
150+ "getting-started" : [ ] ,
151+ "best-practices" : [ ] ,
152+ }
154153
155154for ( const path in learnPages ) {
156155 const page = learnPages [ path as LearnPagePath ]
@@ -171,3 +170,5 @@ for (const path in learnPages) {
171170
172171 pagesBySection [ page . section ] . push ( page )
173172}
173+
174+ export { learnPages , pagesBySection }
You can’t perform that action at this time.
0 commit comments