Open djsethi09 opened 6 months ago
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
As a work around: I separated the imports in 2 lines and it works
As a work around: I separated the imports in 2 lines and it works
Thanks for the tip. That workaround also works for #4481
As a work around: I separated the imports in 2 lines and it works
Thanks for the tip. That workaround also works for #4481
Hi,
Can you please explain how you got this working for #4481 Do you have an code example?
Thanks, Adam
@adam-bentley
import { Container, Segment, Grid, Header, Icon, Label, Statistic } from 'semantic-ui-react'; import { StatisticGroup } from 'semantic-ui-react'; //Import statistic and group separately due to circular dependency in the library
example above.
Bug Report
When importing Statistic and StatisticGroup together in one import: the webpack throws error due to circular dependency.
Steps
Just try following import
import { Statistic, StatisticGroup } from 'semantic-ui-react';
Expected Result
Should be importable
Actual Result
Reference Error
Version
2.1.5