mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
Previously, this error was confusing because it made it sound like the `sizes` prop was missing. This was because the default value of `sizes` is `100vw` so the previous code couldn't tell the different between implicit vs explicit `100vw`. This PR changes the code to read the input value from the `sizes` prop and prints a better warning. Fixes NEXT-2441