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

move injected styled component to end of file #297

Conversation

sfishel18
Copy link
Contributor

in case it references a variable that is declared after the react component that uses it

fixes #260

in case it references a variable that is declared after the react component that uses it

fixes styled-components#260
Copy link
Collaborator

@quantizor quantizor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems ok to me

@quantizor
Copy link
Collaborator

@sfishel18 can you fix this up against main?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Runtime error with css prop and const declared after component
2 participants