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

Weather Easter Egg: Snow crashes site #801

Closed
virus-rpi opened this issue Jul 2, 2024 · 0 comments · Fixed by #831
Closed

Weather Easter Egg: Snow crashes site #801

virus-rpi opened this issue Jul 2, 2024 · 0 comments · Fixed by #831
Labels
bug Something isn't working

Comments

@virus-rpi
Copy link
Collaborator

Updating styled-components caused a bug in the weather easter egg. Because of an update in the way how to implement animations the site crashes when trying to display snowy weather.

Error description:
https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#12

It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css`` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css

@virus-rpi virus-rpi added the bug Something isn't working label Jul 2, 2024
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

Successfully merging a pull request may close this issue.

1 participant