react-rasta icon indicating copy to clipboard operation
react-rasta copied to clipboard

TypeError - "StyledComponents_1.injectGlobal is not a function"

Open ghost opened this issue 6 years ago • 3 comments
trafficstars

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

ghost avatar Apr 19 '19 17:04 ghost

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

ntgussoni avatar Apr 22 '19 17:04 ntgussoni

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.

rstaib avatar Apr 22 '19 19:04 rstaib

I'll take it @rstaib

sigfriedCub1990 avatar Oct 12 '19 20:10 sigfriedCub1990