Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image using unsupported "style" property warning #70

Open
wackerow opened this issue Sep 4, 2022 · 0 comments
Open

Image using unsupported "style" property warning #70

wackerow opened this issue Sep 4, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@wackerow
Copy link
Collaborator

wackerow commented Sep 4, 2022

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:

  1. Spin up development environment, yarn dev
  2. Go to 'http://localhost:3000'
  3. Open console and see warnings

Expected behavior
PhotoCarousel images should be loaded and displayed without any warnings, while maintaining the styling desired.

Screenshots
image

Additional info
These are silenced in production

@wackerow wackerow added the bug Something isn't working label Sep 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant