fix: error when switching accounts on virtualfeed
This commit is contained in:
1 parent
b90703d9f8
commit
602af2996c
4 files changed
+36
-151
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user