You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When locally developing new components or working on a local dApp, importing any rimble-web3-components AND importing a rimble-ui component in the same create-react-app, an error occurs that states "multiple instances of styled components loaded" and causes elements of the page to not get styled properly.
This does not happen when the code is pushed to a production environment as all instances of styled-components will be resolved to a single instance.
Describe the solution you'd like
Importing both rimble-ui and rimble-web3-components should not need any modifications to webpack to function property.
Is your feature request related to a problem? Please describe.
When locally developing new components or working on a local dApp, importing any
rimble-web3-components
AND importing arimble-ui
component in the same create-react-app, an error occurs that states "multiple instances of styled components loaded" and causes elements of the page to not get styled properly.This does not happen when the code is pushed to a production environment as all instances of
styled-components
will be resolved to a single instance.Describe the solution you'd like
Importing both rimble-ui and rimble-web3-components should not need any modifications to webpack to function property.
Additional context
Workaround is documented in the root README and also on the styled-components website: https://www.styled-components.com/docs/faqs#how-can-i-fix-issues-when-using-npm-link-or-yarn-link
The text was updated successfully, but these errors were encountered: