Skip to content

Commit

Permalink
polish(theme): MDX images should use async decoding (#9470)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjaiyan-dev authored and slorber committed Jan 26, 2024
1 parent f55aad1 commit a2c8b41
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export default function MDXImg(props: Props): JSX.Element {
return (
// eslint-disable-next-line jsx-a11y/alt-text
<img
decoding="async"
loading="lazy"
{...props}
className={transformImgClassName(props.className)}
Expand Down

0 comments on commit a2c8b41

Please sign in to comment.