Skip to content

Commit 419cf60

Browse files
author
Marcus
committed
props error
1 parent c327bf1 commit 419cf60

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/(app)/projects/[slug]/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import { getPetBySlug } from "@/sanity/lib/query";
44
import Image from "next/image";
55
import { notFound } from "next/navigation";
66

7-
interface Props {
7+
interface ProjectPageProps {
88
params: { slug: string };
99
}
1010

11-
export default async function ProjectDetails({ params }: Props) {
11+
export default async function ProjectDetails({ params }: ProjectPageProps) {
1212
const pet = await getPetBySlug(params.slug);
1313
if (!pet) return notFound();
1414
console.log(pet);

0 commit comments

Comments
 (0)