Skip to content

Commit 62b33cd

Browse files
committed
fix: Fixed circular dependency
1 parent 0c46112 commit 62b33cd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/components/tile-manager/position.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
import { partition } from '../common/util.js';
22
import type IgcTileManagerComponent from './tile-manager.js';
3-
import IgcTileComponent from './tile.js';
3+
import type IgcTileComponent from './tile.js';
44

55
class TilesState {
66
public manager: IgcTileManagerComponent;
77

88
private get _tiles(): IgcTileComponent[] {
99
return Array.from(
10-
this.manager.querySelectorAll<IgcTileComponent>(
11-
`:scope > ${IgcTileComponent.tagName}`
12-
)
10+
this.manager.querySelectorAll<IgcTileComponent>(':scope > igc-tile')
1311
);
1412
}
1513

0 commit comments

Comments
 (0)