about summary refs log tree commit diff
path: root/src/state/models/feed-view.ts
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-09-30 11:30:18 -0500
committerPaul Frazee <pfrazee@gmail.com>2022-09-30 11:30:18 -0500
commitb05a334dcbd6fbc5eb59da1d5cb111f683d5b1d8 (patch)
treef49392c21f20b488499ad285020f6f29c625cab4 /src/state/models/feed-view.ts
parentefa84fb8e732fe1403ad3f8d366d8572937b8e3a (diff)
downloadvoidsky-b05a334dcbd6fbc5eb59da1d5cb111f683d5b1d8.tar.zst
Remove debug time delays
Diffstat (limited to 'src/state/models/feed-view.ts')
-rw-r--r--src/state/models/feed-view.ts3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/state/models/feed-view.ts b/src/state/models/feed-view.ts
index 7b4b45da6..585bbce28 100644
--- a/src/state/models/feed-view.ts
+++ b/src/state/models/feed-view.ts
@@ -234,7 +234,6 @@ export class FeedViewModel {
 
   private async _initialLoad(isRefreshing = false) {
     this._xLoading(isRefreshing)
-    await new Promise(r => setTimeout(r, 250)) // DEBUG
     try {
       const res = await this.rootStore.api.todo.social.getFeed(this.params)
       this._replaceAll(res)
@@ -246,7 +245,6 @@ export class FeedViewModel {
 
   private async _loadMore() {
     this._xLoading()
-    await new Promise(r => setTimeout(r, 250)) // DEBUG
     try {
       const params = Object.assign({}, this.params, {
         before: this.loadMoreCursor,
@@ -267,7 +265,6 @@ export class FeedViewModel {
 
   private async _update() {
     this._xLoading()
-    await new Promise(r => setTimeout(r, 250)) // DEBUG
     let numToFetch = this.feed.length
     let cursor = undefined
     try {