Fix search results temporarily disappearing while scrolling and loading more results (#27014)

This commit is contained in:
Claire 2023-09-21 13:51:21 +02:00 committed by GitHub
parent 890e334703
commit 5356ddbcca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -156,7 +156,6 @@ class Results extends PureComponent {
let filteredResults; let filteredResults;
if (!isLoading) {
const accounts = results.get('accounts', ImmutableList()); const accounts = results.get('accounts', ImmutableList());
const hashtags = results.get('hashtags', ImmutableList()); const hashtags = results.get('hashtags', ImmutableList());
const statuses = results.get('statuses', ImmutableList()); const statuses = results.get('statuses', ImmutableList());
@ -195,7 +194,6 @@ class Results extends PureComponent {
filteredResults = renderStatuses(statuses); filteredResults = renderStatuses(statuses);
break; break;
} }
}
return ( return (
<> <>