[Glitch] Fix search results temporarily disappearing while scrolling and loading more results
Port 5356ddbcca
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
f05985f8ec
commit
6760e67c64
|
@ -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 (
|
||||||
<>
|
<>
|
||||||
|
|
Reference in New Issue