mirror of
https://github.com/vercel/commerce.git
synced 2025-05-18 23:46:58 +00:00
Update page.tsx
This commit is contained in:
parent
0ce215fa75
commit
b07757aec9
@ -17,7 +17,7 @@ export async function generateMetadata({
|
|||||||
}: {
|
}: {
|
||||||
params: { locale?: SupportedLocale };
|
params: { locale?: SupportedLocale };
|
||||||
}): Promise<Metadata> {
|
}): Promise<Metadata> {
|
||||||
unstable_noStore(); // opt out before we even get to the try/catch
|
unstable_noStore(); // opt out from partial prerendering
|
||||||
const page = await getPage({
|
const page = await getPage({
|
||||||
handle: 'shop-list',
|
handle: 'shop-list',
|
||||||
language: params?.locale?.toUpperCase() || 'JA'
|
language: params?.locale?.toUpperCase() || 'JA'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user