Skip to content

Commit b4690fc

Browse files
committed
feat(soba): loaders
1 parent 03dcfb8 commit b4690fc

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

libs/soba/loaders/src/lib/loader.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,6 @@ export class NgtsLoader {
7979
shown = signal(this.initialState()(this.active()));
8080

8181
constructor() {
82-
this.setShown();
83-
this.updateProgress();
84-
}
85-
86-
private setShown() {
8782
effect((onCleanup) => {
8883
const [active, lastShown] = [this.active(), untracked(this.shown)];
8984
if (lastShown !== active) {
@@ -93,12 +88,9 @@ export class NgtsLoader {
9388
onCleanup(() => clearTimeout(timeoutId));
9489
}
9590
});
96-
}
9791

98-
private updateProgress() {
9992
let progressRef = 0;
10093
let rafId: ReturnType<typeof requestAnimationFrame>;
101-
10294
effect((onCleanup) => {
10395
const [dataInterpolation, progress] = [this.dataInterpolation(), this.progress()];
10496
const updateProgress = () => {

0 commit comments

Comments
 (0)