about summary refs log tree commit diff
path: root/src/lib/api/feed-manip.ts
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-03-22 11:07:00 -0500
committerPaul Frazee <pfrazee@gmail.com>2023-03-22 11:07:00 -0500
commita369e079568fbe31e604235238169146e4495390 (patch)
treece3bd1b2797cf74e869a457685aca64ee7970135 /src/lib/api/feed-manip.ts
parenta8a747ebcbf19fef502344c1d3bc69b8956c0b25 (diff)
downloadvoidsky-a369e079568fbe31e604235238169146e4495390.tar.zst
Fix tsc
Diffstat (limited to 'src/lib/api/feed-manip.ts')
-rw-r--r--src/lib/api/feed-manip.ts17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/lib/api/feed-manip.ts b/src/lib/api/feed-manip.ts
index 664bacd88..c0f5dde28 100644
--- a/src/lib/api/feed-manip.ts
+++ b/src/lib/api/feed-manip.ts
@@ -72,21 +72,6 @@ export class FeedViewPostsSlice {
       this.items.splice(0, 0, {post: this.items[0].reply?.parent})
     }
   }
-
-  logSelf() {
-    console.log(
-      `- Slice ${this.items.length}${this.isThread ? ' (thread)' : ''} -`,
-    )
-    for (const item of this.items) {
-      console.log(
-        `  ${item.reason ? `RP by ${item.reason.by.handle}: ` : ''}${
-          item.post.author.handle
-        }: ${item.reply ? `(Reply ${item.reply.parent.author.handle}) ` : ''}${
-          item.post.record.text
-        }`,
-      )
-    }
-  }
 }
 
 export class FeedTuner {
@@ -158,8 +143,6 @@ export class FeedTuner {
       for (const item of slice.items) {
         this.seenUris.add(item.post.uri)
       }
-      // DEBUG uncomment to get a quick view of the data
-      // slice.logSelf()
     }
 
     return slices