1
0
Fork 0
mirror of https://github.com/homarr-labs/dashboard-icons.git synced 2025-10-04 13:20:43 +02:00

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
No known key found for this signature in database
GPG key ID: A678F374F428457B

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)