Skip to content

Commit 2558279

Browse files
Update posts-list.component.ts
removed timeout for check if if will work
1 parent 5c71913 commit 2558279

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/reader/_components/main-page/posts-list/posts-list.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export class PostsListComponent implements OnInit {
7777
this.cdr.detectChanges();
7878
});
7979
console.log(this.posts());
80-
}, 1000);
80+
}, 1);
8181
}
8282

8383
private initializeScrollingForMobileView(): void {

0 commit comments

Comments
 (0)