should render the correct sizes passed when a noscript is rendered (#37161)
## Bug - [x] Fixes #36807 - [x] Unit tests added Please review this PR. As shown in [this Issue](https://github.com/vercel/next.js/issues/36807), the noscript element does not render sizes correctly during SSR. This change adds `noscriptSizes` to the props passed to `ImageElement` to generate the same `sizes` and `srcset` as the normal img tag that is actually rendered in the browser.
Showing
Please
register
or
sign in
to comment