fix: remove debug
This commit is contained in:
1 file changed
-4
@@ -57,8 +57,6 @@
|
|||||||
try {
|
try {
|
||||||
loading = true
|
loading = true
|
||||||
|
|
||||||
console.log('fetching with cursor', feedData.cursor.next)
|
|
||||||
|
|
||||||
const newPosts = await client({
|
const newPosts = await client({
|
||||||
func: (input, init) =>
|
func: (input, init) =>
|
||||||
fetch(input, { ...init, signal: abortLoad.signal }),
|
fetch(input, { ...init, signal: abortLoad.signal }),
|
||||||
@@ -91,8 +89,6 @@
|
|||||||
else postIds.push(post.post.id)
|
else postIds.push(post.post.id)
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('are there duplicates?', duplicates)
|
|
||||||
|
|
||||||
feedData.cursor.next = newPosts.next_page
|
feedData.cursor.next = newPosts.next_page
|
||||||
feedData.posts.posts.push(...newPosts.posts)
|
feedData.posts.posts.push(...newPosts.posts)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user