We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c327bf1 commit 419cf60Copy full SHA for 419cf60
1 file changed
app/(app)/projects/[slug]/page.tsx
@@ -4,11 +4,11 @@ import { getPetBySlug } from "@/sanity/lib/query";
4
import Image from "next/image";
5
import { notFound } from "next/navigation";
6
7
-interface Props {
+interface ProjectPageProps {
8
params: { slug: string };
9
}
10
11
-export default async function ProjectDetails({ params }: Props) {
+export default async function ProjectDetails({ params }: ProjectPageProps) {
12
const pet = await getPetBySlug(params.slug);
13
if (!pet) return notFound();
14
console.log(pet);
0 commit comments