Skip to content

Commit 240a3c5

Browse files
committed
style: fix formatting
1 parent 08a6557 commit 240a3c5

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/app/[lang]/(home)/opengraph-image.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ export default async function Image({ params }: { params: { slug: string } }) {
2424
}}
2525
>
2626
helloworld
27-
</div>
27+
</div>,
2828
);
2929
}

src/app/[lang]/docs/[[...slug]]/page.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,7 @@ export async function generateMetadata(
112112
keywords: [...parentKeywords, ...pageKeywords],
113113
};
114114

115-
if (ogLanguageBlacklist.includes(params.lang))
116-
return baseMetadata;
115+
if (ogLanguageBlacklist.includes(params.lang)) return baseMetadata;
117116
else
118117
return {
119118
...baseMetadata,

src/app/[lang]/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export async function generateMetadata(
6666

6767
const headersList = await headers();
6868
const pathname = headersList.get("x-pathname") || `/${lang}`;
69-
69+
7070
// Remove the language prefix from pathname to get the page path
7171
const pagePath = pathname.replace(`/${lang}`, "");
7272

0 commit comments

Comments
 (0)