Fix search results

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2021-11-03 08:43:00 +01:00
parent 6aa3a31d0e
commit 3e5f9162c8

View file

@ -46,7 +46,7 @@ const importResults = (state, results) => {
return state.withMutations(state => {
state.set('results', ImmutableMap({
accounts: toIds(results.accounts),
statuses: toIds(results.accounts),
statuses: toIds(results.statuses),
hashtags: fromJS(results.hashtags), // it's a list of maps
accountsHasMore: results.accounts.length >= 20,
statusesHasMore: results.statuses.length >= 20,