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

TypeError - "StyledComponents_1.injectGlobal is not a function" #49

Open
ghost opened this issue Apr 19, 2019 · 3 comments
Open

TypeError - "StyledComponents_1.injectGlobal is not a function" #49

ghost opened this issue Apr 19, 2019 · 3 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@ghost
Copy link

ghost commented Apr 19, 2019

StyledComponents_1.injectGlobal is not a function

Steps to reproduce
Update Styled-Components to v4.0 and above

Error shown via Codesandbox : https://codesandbox.io/embed/v0zzjj2x6l

@ntgussoni
Copy link

ntgussoni commented Apr 22, 2019

Having the same issue as @MaverickMax on v4.1.3
It's related to #46 since injectGlobal was changed for createGlobalStyle

@rstaib rstaib added bug Something isn't working help wanted Extra attention is needed labels Apr 22, 2019
@rstaib
Copy link
Member

rstaib commented Apr 22, 2019

I have not updated so far, because there is some rewriting required.
Unfortunately, there are a few other projects which need my complete attention for now.
If somebody want to do a PR and fix this bug respectively, it would be very welcome.

@sigfriedCub1990
Copy link

I'll take it @rstaib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants