Skip to content

Commit

Permalink
docs: "generateMetadata" to "generateViewport" in doc "generateViewpo…
Browse files Browse the repository at this point in the history
…rt" (#64795)

Changed "generateMetadata" to "generateViewport" in
generate-viewport.mdx

Co-authored-by: Sam Ko <sam@vercel.com>
  • Loading branch information
Auxdible and samcx authored Apr 19, 2024
1 parent a0f334c commit cf038a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ 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`.
> - If the viewport doesn't depend on runtime information, it should be defined using the static [`viewport` object](#the-viewport-object) rather than `generateViewport`.
## Viewport Fields

Expand Down

0 comments on commit cf038a3

Please sign in to comment.