import type { Metadata } from 'next'
import { Suspense } from 'react'
import { CheckoutSuccessClient } from './success-client'

export const metadata: Metadata = { title: '支付成功' }

export default function CheckoutSuccessPage() {
  return (
    <Suspense fallback={<div className="bg-bg py-16 text-center text-muted">正在加载订单结果...</div>}>
      <CheckoutSuccessClient />
    </Suspense>
  )
}
