Swap in base following (#3991)

zio/stable
Eric Bailey 2024-05-13 14:44:21 -05:00 committed by GitHub
parent 10919319bf
commit f0cd8ab6f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -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'
@ -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('|')