merge-ppr-branch-into-narai-commerce

This commit is contained in:
Sol Irvine
2023-11-12 15:40:52 +09:00
parent 12bcdd8a3c
commit 2a52c4920c
43 changed files with 308 additions and 767 deletions

View File

@@ -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>
);
}