fix: break import cycles
import/no-cycle (now active) flagged 17 cycles across 12 files: - shared/ui self-barrel cycles (Logo/Stat/StatGroup/ComboControl/ FilterGroup/SectionHeader): import siblings relatively instead of through the $shared/ui barrel that re-exports them - shared/lib/utils: roundToStepPrecision imports getDecimalPlaces relatively instead of via the utils barrel - routes: lazy-load Redirect in the router so it no longer statically imports a component that imports navigate back from it
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { getDecimalPlaces } from '$shared/lib/utils';
|
||||
import { getDecimalPlaces } from '../getDecimalPlaces/getDecimalPlaces';
|
||||
|
||||
/**
|
||||
* Rounds a value to match the precision of a given step
|
||||
|
||||
Reference in New Issue
Block a user