mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
merge-ppr-branch-into-narai-commerce
This commit is contained in:
@@ -7,10 +7,6 @@ import { BLOG_HANDLE } from 'lib/constants';
|
||||
import { getCart, getProduct } from 'lib/shopify';
|
||||
import { Product } from 'lib/shopify/types';
|
||||
import { cookies } from 'next/headers';
|
||||
import { Suspense } from 'react';
|
||||
|
||||
export const runtime = 'edge';
|
||||
export const revalidate = 300; // 5 minutes in seconds
|
||||
|
||||
const { SITE_NAME } = process.env;
|
||||
|
||||
@@ -46,9 +42,7 @@ export default async function StoriesPage({
|
||||
<StoriesDetail handle={BLOG_HANDLE} locale={locale} />
|
||||
</div>
|
||||
|
||||
<Suspense>
|
||||
<Footer cart={cart} />
|
||||
</Suspense>
|
||||
<Footer cart={cart} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user