mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
feat: homepage and integrate with shopify page
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { getCollection } from 'lib/shopify';
|
||||
|
||||
const Header = async ({ collection }: { collection: string }) => {
|
||||
const collectionData = await getCollection(collection);
|
||||
const collectionData = await getCollection({ handle: collection });
|
||||
|
||||
return collectionData ? (
|
||||
<div className="mb-3 mt-3 max-w-5xl lg:mb-1">
|
||||
|
Reference in New Issue
Block a user