import { getCollection } from 'lib/shopify'; const Header = async ({ collection }: { collection: string }) => { const collectionData = await getCollection({ handle: collection }); return collectionData ? (

{collectionData.title}

{collectionData.description}

) : null; }; export const HeaderPlaceholder = () => { return (
); }; export default Header;