[Glitch] Fix not showing loading indicator when searching in web UI

Port cb2e198d89 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Eugen Rochko authored and Claire committed 2022-10-08 20:49:02 +02:00
1 parent 058b74dc0a
commit 6e208a817d
2 files changed
+5 -3

No files matched your search

@@ -104,7 +104,7 @@ class Results extends React.PureComponent {
</div>
<div className='explore__search-results'>
{isLoading ? (<LoadingIndicator />) : filteredResults}
{isLoading ? <LoadingIndicator /> : filteredResults}
</div>
</React.Fragment>
);