devedmonton / DES-Website

The Dev Edmonton Society website! We empower Edmonton Developers!
https://devedmonton.com
MIT License
22 stars 52 forks source link

Type Error in defineOgImage #337

Open arashsheyda opened 3 months ago

arashsheyda commented 3 months ago

The current implementation of defineOgImage in our codebase is causing a type error (we are using nuxt-og-image for rendering social cards, and as nuxt-og-image has been updated through time, it syntax has changed)

to resolve the issue we need to update defineOgImage as follow:

defineOgImage({
  component: 'AppOgImageFrame',
- icon: '...',
+ props: {
+   icon: '...',
+ },
})