Skip to content

Commit

Permalink
Format Page component props for improved readability
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Koech authored and Kevin Koech committed Jan 10, 2025
1 parent 2a2c780 commit 0a5e30e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/techlabblog/app/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ import { Section } from "@commons-ui/core";
import PostHeader from "@/techlabblog/components/PostHeader";
import { getPost } from "@/techlabblog/lib/data";

export default async function Page(props: { params: Promise<{ slug: string }> }) {
export default async function Page(props: {
params: Promise<{ slug: string }>;
}) {
const params = await props.params;
const postModule = await getPost(params.slug);

Expand Down

0 comments on commit 0a5e30e

Please sign in to comment.