Swap in base following (#3991)
parent
10919319bf
commit
f0cd8ab6f4
|
@ -14,7 +14,6 @@ import {
|
||||||
useInfiniteQuery,
|
useInfiniteQuery,
|
||||||
} from '@tanstack/react-query'
|
} from '@tanstack/react-query'
|
||||||
|
|
||||||
import {HomeFeedAPI} from '#/lib/api/feed/home'
|
|
||||||
import {aggregateUserInterests} from '#/lib/api/feed/utils'
|
import {aggregateUserInterests} from '#/lib/api/feed/utils'
|
||||||
import {moderatePost_wrapped as moderatePost} from '#/lib/moderatePost_wrapped'
|
import {moderatePost_wrapped as moderatePost} from '#/lib/moderatePost_wrapped'
|
||||||
import {logger} from '#/logger'
|
import {logger} from '#/logger'
|
||||||
|
@ -399,7 +398,7 @@ function createApi({
|
||||||
userInterests,
|
userInterests,
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
return new HomeFeedAPI({getAgent, userInterests})
|
return new FollowingFeedAPI({getAgent})
|
||||||
}
|
}
|
||||||
} else if (feedDesc.startsWith('author')) {
|
} else if (feedDesc.startsWith('author')) {
|
||||||
const [_, actor, filter] = feedDesc.split('|')
|
const [_, actor, filter] = feedDesc.split('|')
|
||||||
|
|
Loading…
Reference in New Issue