This commit is contained in:
2025-06-29 12:08:29 +02:00
parent 44c676c62b
commit 1dba1cf093
4 changed files with 46 additions and 61 deletions

View File

@ -5,7 +5,7 @@ import NextImage from "next/image";
import { notFound } from "next/navigation";
export default async function RawImagePage({ params }: { params: { imageId: string } }) {
const { imageId } = params;
const { imageId } = await params;
const image = await prisma.image.findUnique({
where: { id: imageId },