import { getCollection, getMetaobjectsByIds } from 'lib/shopify'; import CollectionLink from './collection-link'; const HelpfulLinks = async ({ collection }: { collection: string }) => { const collectionData = await getCollection({ handle: collection }); if (!collectionData || !collectionData.helpfulLinks) return null; const helpfulLinks = await getMetaobjectsByIds(collectionData.helpfulLinks); return (