Commit 26542cfd by Arjun Jhukal

resolved the build issue at sucess page

parent 174a1547
......@@ -3,12 +3,9 @@ import Image from 'next/image'
import Link from 'next/link'
import React from 'react'
interface PaymentSuccessProps {
params: { slug: string }
}
export default function PaymentSuccess({ params }: PaymentSuccessProps) {
const { slug } = params
export default async function PaymentSuccess({ params }: { params: Promise<{ slug: number }> }) {
const { slug } = await params
return (
<GlassWrapper className="max-w-[520px] mx-auto flex flex-col gap-3 items-center text-center p-6">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment