diff --git a/app/search/[collection]/opengraph-image.tsx b/app/search/[collection]/opengraph-image.tsx deleted file mode 100644 index 9eb9c47f7..000000000 --- a/app/search/[collection]/opengraph-image.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import OpengraphImage from 'components/opengraph-image'; -import { getCollection } from 'lib/shopify'; - -export const runtime = 'edge'; - -export default async function Image({ params }: { params: { collection: string } }) { - const collection = await getCollection(params.collection); - const title = collection?.seo?.title || collection?.title; - - return await OpengraphImage({ title }); -}