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: Refactored styled components to prevent multiple creations in render method #139

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sampathBlam
Copy link
Contributor

The component X with the id of Y has been created dynamically.
You may see this warning because you've called styled inside another component.
To resolve this only create new StyledComponents outside of any render method and function component 
  • Fix unique key related warning for filters

…tiple times in render method

- Fix warnings related to creation of styled components in render method
- Created separate component files and wrapped the styled components in them
- src: styled-components/styled-components#3015 (comment)
@vercel
Copy link

vercel bot commented Mar 28, 2020

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/someshkar/covid19india-network/hh3hfl6si
✅ Preview: https://covid19india-netwo-git-fork-room4o4-fix-styledcomponentw-a846f7.someshkar.now.sh

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.

1 participant