contentlayerdev / website

Contentlayer Website
https://www.contentlayer.dev
MIT License
130 stars 61 forks source link

Fix invalid "as" for default export. #80

Closed anthonyshew closed 1 year ago

anthonyshew commented 1 year ago

Image for next/image is a default export so there's no need to use as with it - nor are you even allowed to, anyway! You can rename it to NextImage in the import declaration straightaway. 👍