mirror of
https://github.com/walkxcode/dashboard-icons.git
synced 2025-10-26 04:59:03 +08:00
remove the use of previousimages for og-image
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user