docs: remove note about generateMetdata (#58192)

Closes https://github.com/vercel/next.js/issues/57816.
This commit is contained in:
Lee Robinson 2023-11-08 08:18:00 -06:00 committed by GitHub
parent f206573f93
commit 36490fe27d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,6 @@ export function generateViewport({ params }) {
> **Good to know**:
>
> - If the viewport doesn't depend on runtime information, it should be defined using the static [`viewport` object](#the-viewport-object) rather than `generateMetadata`.
> - Marking `generateViewport` as `async` is not yet supported. If you still require this functionality, continue using the previous `generateMetadata` option. We will be adding support for `async` in an upcoming minor release.
## Viewport Fields