Files
postshop-frontend/app/[locale]/orders/page.tsx
Jelaletdin12 fdec9e4b0e first commit
2025-11-10 10:07:48 +05:00

21 lines
490 B
TypeScript

import type { Metadata } from "next"
import OrdersPageClient from "./orders-page-client"
export const metadata: Metadata = {
title: "My Orders | E-Commerce",
description: "View your order history",
robots: "noindex, nofollow", // Private page
}
interface PageProps {
params: Promise<{
locale: string
}>
}
export default async function OrdersPage({ params }: PageProps) {
const resolvedParams = await params
return <OrdersPageClient locale={resolvedParams.locale} />
}