Skip to content

Commit 573e416

Browse files
committed
Remove comment
1 parent c41d537 commit 573e416

File tree

1 file changed

+0
-47
lines changed

1 file changed

+0
-47
lines changed

frontends/main/src/app/page.tsx

-47
Original file line numberDiff line numberDiff line change
@@ -27,53 +27,6 @@ export async function generateMetadata({
2727

2828
const Page: React.FC = async () => {
2929
const dehydratedState = await prefetch([
30-
/* We can't prefetch any learning resource until they are fully public, https://github.com/mitodl/hq/issues/5159
31-
32-
// The queries for carousel content are not checked in the query cache warnings as the use the key factory methods directly
33-
34-
// Featured Courses carousel "All"
35-
learningResourcesKeyFactory.featured({
36-
limit: 12,
37-
}),
38-
// Featured Courses carousel "Free" (worth fetching for tabs not shown on load?)
39-
learningResourcesKeyFactory.featured({
40-
limit: 12,
41-
free: true,
42-
}),
43-
// Featured Courses carousel "With Certificate"
44-
learningResourcesKeyFactory.featured({
45-
limit: 12,
46-
certification: true,
47-
professional: false,
48-
}),
49-
// Featured Courses carousel "Professional & Executive Learning"
50-
learningResourcesKeyFactory.featured({
51-
limit: 12,
52-
certification: true,
53-
professional: false,
54-
}),
55-
// Media carousel "All"
56-
learningResourcesKeyFactory.list({
57-
resource_type: ["video", "podcast_episode"],
58-
limit: 12,
59-
sortby: "new",
60-
}),
61-
// Media carousel "Videos"
62-
learningResourcesKeyFactory.list({
63-
resource_type: ["video"],
64-
limit: 12,
65-
sortby: "new",
66-
}),
67-
// Media carousel "Podcasts"
68-
learningResourcesKeyFactory.list({
69-
resource_type: ["podcast_episode"],
70-
limit: 12,
71-
sortby: "new",
72-
}),
73-
// Browse by Topic
74-
learningResourcesKeyFactory.topics({ is_toplevel: true }),
75-
*/
76-
7730
testimonialsKeyFactory.list({ position: 1 }),
7831
newsEventsKeyFactory.list({
7932
feed_type: [NewsEventsListFeedTypeEnum.News],

0 commit comments

Comments
 (0)