Skip to content

Commit 2ff5be1

Browse files
committed
fix: readd tailwind plugin
1 parent 4164fc3 commit 2ff5be1

2 files changed

Lines changed: 10 additions & 12 deletions

File tree

apps/trialanderror.org/src/app/[page]/page.tsx

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,28 @@ const GOOGLE_AD_PAGES = [
1717
] as const;
1818

1919
export async function generateMetadata(props: Props) {
20-
const params = await props.params;
21-
const { seo, title, slug } = await getPage(params.page);
20+
const params = await props.params;
21+
const { seo, title, slug } = await getPage(params.page);
2222

23-
return createMetadata({
23+
return createMetadata({
2424
title: seo?.metaTitle ?? title,
2525
description: seo?.metaDescription ?? "",
2626
canonical: slug,
2727
});
2828
}
2929

3030
export default async function AboutPage(props: Props) {
31-
const params = await props.params;
31+
const params = await props.params;
3232

33-
const {
34-
page
35-
} = params;
33+
const { page } = params;
3634

37-
const pageResult = await getPage(page);
35+
const pageResult = await getPage(page);
3836

39-
const { title, block } = pageResult;
40-
if (!title) {
37+
const { title, block } = pageResult;
38+
if (!title) {
4139
notFound();
4240
}
43-
return (
41+
return (
4442
<>
4543
<main className="flex flex-col items-center">
4644
<div className="w-screen">

apps/trialanderror.org/tailwind.config.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@ module.exports = {
5959
},
6060
},
6161
},
62-
// plugins: [require("@tailwindcss/typography"), require("@tailwindcss/forms")],
62+
plugins: [require("@tailwindcss/typography"), require("@tailwindcss/forms")],
6363
};

0 commit comments

Comments
 (0)