Change `data-nimg` attribute on `next/image` (#41612)
For `next/legacy/image`, the `data-nimg` has the `layout` prop value. Since `next/image` doesn't have a `layout` prop, we can use `fill` when the fill prop is used or fallback to `1`.
Showing
Please
register
or
sign in
to comment