Semantic-Org / Semantic-UI-React

The official Semantic-UI-React integration

Home Page:https://react.semantic-ui.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Circular Dependency : Statistic and StatisticGroup

djsethi09 opened this issue · comments

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
Screenshot 2024-03-19 at 3 38 27 AM

👋 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