From 869809f11a528b6ad7380b333f53240a283fd5fd Mon Sep 17 00:00:00 2001 From: Cayden Schwechten <4884755-caydens@users.noreply.gitlab.com> Date: Wed, 5 Aug 2026 12:36:31 -0500 Subject: [PATCH] make async --- app/blog/page.tsx | 2 +- app/contact/page.tsx | 2 +- app/layout.tsx | 2 +- app/page.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/blog/page.tsx b/app/blog/page.tsx index 509e44b..f5a63bb 100644 --- a/app/blog/page.tsx +++ b/app/blog/page.tsx @@ -1,7 +1,7 @@ import {getCategorizedArticles} from "@/lib/articles"; import ArticleItemList from "@/components/ArticleListItem"; -export default function BlogPage() { +export default async function BlogPage() { const articles = getCategorizedArticles() return ( diff --git a/app/contact/page.tsx b/app/contact/page.tsx index 4c95272..db573b3 100644 --- a/app/contact/page.tsx +++ b/app/contact/page.tsx @@ -1,4 +1,4 @@ -export default function Contact() { +export default async function Contact() { return (

Contact page, wip.

diff --git a/app/layout.tsx b/app/layout.tsx index 78035a3..263b99c 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -22,7 +22,7 @@ export const metadata: Metadata = { description: "Come and see what I'm all about.", }; -export default function RootLayout({ +export default async function RootLayout({ children, }: Readonly<{ children: React.ReactNode; diff --git a/app/page.tsx b/app/page.tsx index a53a31a..d3dc9a1 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,6 +1,6 @@ import React from "react"; -export default function Home() { +export default async function Home() { return (