fix: error when switching accounts on virtualfeed

This commit is contained in:
Xylight committed 2024-07-16 09:45:13 -07:00
1 parent b90703d9f8
commit 602af2996c
4 files changed
+36 -151

No files matched your search

+1 -2
View File
@@ -19,7 +19,7 @@
export const shouldReload = (
cache: CachedPosts | undefined,
params: string,
instance: string
instance: string,
): boolean =>
cache?.instance != instance || cache?.params.toString() != params
</script>
@@ -57,7 +57,6 @@
try {
loading = true
console.log(`loading more with cursor ${data.cursor.next}`)
const newPosts = await getClient()
.getPosts({
limit: limit,