diff --git a/app/zapytanie-multisplit/[slug]/page.tsx b/app/zapytanie-multisplit/[slug]/page.tsx index 0f28dfa..7ff8ddb 100644 --- a/app/zapytanie-multisplit/[slug]/page.tsx +++ b/app/zapytanie-multisplit/[slug]/page.tsx @@ -8,7 +8,7 @@ import { ArrowLeft, Phone, Zap, Wind, Volume2, Thermometer } from 'lucide-react' import MultisplitContactForm from '@/components/shop/MultisplitContactForm'; interface Props { - params: Promise<{ slug: string }>; + params: { slug: string }; } export async function generateStaticParams() { @@ -18,7 +18,7 @@ export async function generateStaticParams() { } export async function generateMetadata({ params }: Props): Promise { - const { slug } = await params; + const { slug } = params; const product = getProductBySlug(slug); if (!product) return { title: 'Produkt nie znaleziony' }; return { @@ -28,7 +28,7 @@ export async function generateMetadata({ params }: Props): Promise { } export default async function MultisplitInquiryPage({ params }: Props) { - const { slug } = await params; + const { slug } = params; const product = getProductBySlug(slug); if (!product || product.category !== 'multisplit') notFound();