Use new filter for Posts tab on profile (#2150)
* Use new filter for Posts tab on profile * Update deps * Remove log
This commit is contained in:
parent
e1b1720cad
commit
9c0c18d5d0
6 changed files with 35 additions and 117 deletions
|
@ -121,7 +121,7 @@ let Feed = ({
|
|||
data?.pages.length === 1 &&
|
||||
(feed === 'following' ||
|
||||
feed === 'home' ||
|
||||
feed === `author|${myDid}|posts_no_replies`)
|
||||
feed === `author|${myDid}|posts_and_author_threads`)
|
||||
) {
|
||||
queryClient.invalidateQueries({queryKey: RQKEY(feed)})
|
||||
}
|
||||
|
|
|
@ -280,7 +280,7 @@ function ProfileScreenLoaded({
|
|||
{({onScroll, headerHeight, isFocused, isScrolledDown, scrollElRef}) => (
|
||||
<FeedSection
|
||||
ref={postsSectionRef}
|
||||
feed={`author|${profile.did}|posts_no_replies`}
|
||||
feed={`author|${profile.did}|posts_and_author_threads`}
|
||||
onScroll={onScroll}
|
||||
headerHeight={headerHeight}
|
||||
isFocused={isFocused}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue