Skip to content

Commit

Permalink
Swap in base following (#3991)
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey authored May 13, 2024
1 parent 1091931 commit f0cd8ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/state/queries/post-feed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {
useInfiniteQuery,
} from '@tanstack/react-query'

import {HomeFeedAPI} from '#/lib/api/feed/home'
import {aggregateUserInterests} from '#/lib/api/feed/utils'
import {moderatePost_wrapped as moderatePost} from '#/lib/moderatePost_wrapped'
import {logger} from '#/logger'
Expand Down Expand Up @@ -399,7 +398,7 @@ function createApi({
userInterests,
})
} else {
return new HomeFeedAPI({getAgent, userInterests})
return new FollowingFeedAPI({getAgent})
}
} else if (feedDesc.startsWith('author')) {
const [_, actor, filter] = feedDesc.split('|')
Expand Down

0 comments on commit f0cd8ab

Please sign in to comment.