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

Fix styled-components deprecation #10

Open
blms opened this issue Jul 23, 2020 · 0 comments
Open

Fix styled-components deprecation #10

blms opened this issue Jul 23, 2020 · 0 comments
Labels
deprecation Warnings about libraries and deprecations

Comments

@blms
Copy link
Member

blms commented Jul 23, 2020

Console error:
Functions as object-form attrs({}) keys are now deprecated and will be removed in a future version of styled-components. Switch to the new attrs(props => ({})) syntax instead for easier and more powerful composition. The attrs key in question is "style" on component "styles__Year".

@blms blms added bug Something isn't working deprecation Warnings about libraries and deprecations and removed bug Something isn't working labels Jul 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprecation Warnings about libraries and deprecations
Projects
None yet
Development

No branches or pull requests

1 participant