mirror of
https://github.com/vercel/commerce.git
synced 2025-07-31 05:51:23 +00:00
Prepare for using PPR (#1236)
This commit is contained in:
11
app/page.tsx
11
app/page.tsx
@@ -1,9 +1,6 @@
|
||||
import { Carousel } from 'components/carousel';
|
||||
import { ThreeItemGrid } from 'components/grid/three-items';
|
||||
import Footer from 'components/layout/footer';
|
||||
import { Suspense } from 'react';
|
||||
|
||||
export const runtime = 'edge';
|
||||
|
||||
export const metadata = {
|
||||
description: 'High-performance ecommerce store built with Next.js, Vercel, and Shopify.',
|
||||
@@ -16,12 +13,8 @@ export default async function HomePage() {
|
||||
return (
|
||||
<>
|
||||
<ThreeItemGrid />
|
||||
<Suspense>
|
||||
<Carousel />
|
||||
<Suspense>
|
||||
<Footer />
|
||||
</Suspense>
|
||||
</Suspense>
|
||||
<Carousel />
|
||||
<Footer />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user