fix: skip following feed fetch when all tab is active
This commit is contained in:
@@ -23,8 +23,10 @@ const tab = computed<"all" | "following">({
|
||||
}),
|
||||
})
|
||||
|
||||
const followingEnabled = computed(() => tab.value === 'following')
|
||||
|
||||
const all = usePublicNoteList()
|
||||
const following = useFollowingNoteList(follows)
|
||||
const following = useFollowingNoteList(follows, followingEnabled)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user