Skip to content

Commit 37340cf

Browse files
authored
🐛 FIX: Learn SEO (#17)
1 parent 5625100 commit 37340cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/baseai.dev/src/app/learn/[section]/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getDocsBySlug } from "@/lib/get-docs-by-slug";
1+
import { getLearnBySlug } from "@/lib/get-learn-by-slug";
22
import { FrontmatterT } from "@/types/markdown";
33

44
export async function generateMetadata({
@@ -9,7 +9,7 @@ export async function generateMetadata({
99
let frontmatter: FrontmatterT;
1010

1111
if (process.env.NODE_ENV === 'production') {
12-
const data = await getDocsBySlug({
12+
const data = await getLearnBySlug({
1313
section: 'learn',
1414
slug: params.section
1515
});

0 commit comments

Comments
 (0)