first commit
This commit is contained in:
20
app/[locale]/orders/page.tsx
Normal file
20
app/[locale]/orders/page.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
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} />
|
||||
}
|
||||
Reference in New Issue
Block a user