Skip to content

Commit

Permalink
fix(docs): correct MDN URL for decoding attribute of next/image compo…
Browse files Browse the repository at this point in the history
…nent (#71029)

This PR fixes the MDN URL reference for the `decoding` attribute, which
had the incorrect URL from the `loading` attribute of the `<Image>`
component in the API Reference section of docs.

Co-authored-by: JJ Kasper <jj@jjsweb.site>
  • Loading branch information
2 people authored and kdy1 committed Oct 10, 2024
1 parent 256ccb5 commit 5ce4793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/02-app/02-api-reference/01-components/image.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ Possible values are the following:
- `sync` - Synchronously decode the image for atomic presentation with other content.
- `auto` - No preference for the decoding mode; the browser decides what's best.

Learn more about the [`decoding` attribute](https://developer.mozilla.org/docs/Web/HTML/Element/img#loading).
Learn more about the [`decoding` attribute](https://developer.mozilla.org/docs/Web/HTML/Element/img#decoding).

### Other Props

Expand Down

0 comments on commit 5ce4793

Please sign in to comment.