Fix search results

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
draftjs
marcin mikołajczak 2021-11-03 08:43:00 +01:00
rodzic 6aa3a31d0e
commit 3e5f9162c8
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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,