remove the use of previousimages for og-image

This commit is contained in:
Thomas Camlong
2025-04-17 09:46:45 +02:00
parent 63349f7490
commit 7ef4f9ac28

View File

@@ -26,7 +26,6 @@ export async function generateMetadata({ params, searchParams }: Props, parent:
if (!iconsData[icon]) {
notFound()
}
const previousImages = (await parent).openGraph?.images || []
const authorData = await getAuthorData(iconsData[icon].update.author.id)
const authorName = authorData.name || authorData.login
const updateDate = new Date(iconsData[icon].update.timestamp)