mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Added shared layout with _app
This commit is contained in:
@@ -14,9 +14,7 @@ export default function Home({
|
||||
products,
|
||||
}: InferGetStaticPropsType<typeof getStaticProps>) {
|
||||
console.log('PRODUCTS', products)
|
||||
return (
|
||||
<Layout>
|
||||
<ProductGrid products={products} />
|
||||
</Layout>
|
||||
)
|
||||
return <ProductGrid products={products} />
|
||||
}
|
||||
|
||||
Home.Layout = Layout
|
||||
|
Reference in New Issue
Block a user