Image using unsupported "style" property warning
wackerow opened this issue · comments
Paul Wackerow commented
Describe the bug
Getting warnings about using an unsupported "style" props on all of our carousel images
image.js?82f6:414 Image with src "/images/FamilyPhotos/metacartel_paris-2021.jpg" is
using unsupported "style" property. Please use the "className" property instead.
To Reproduce
Steps to reproduce the behavior:
- Spin up development environment,
yarn dev
- Go to 'http://localhost:3000'
- Open console and see warnings
Expected behavior
PhotoCarousel images should be loaded and displayed without any warnings, while maintaining the styling desired.
Additional info
These are silenced in production