Web: People: Do not show the loader if the data has already been loaded (Switching from the profile page to the main page)

This commit is contained in:
Alexey Kostenko 2020-11-11 15:46:46 +03:00
parent 7a6a9b539b
commit 63dad62226

View File

@ -75,8 +75,6 @@ class SectionBodyContent extends React.PureComponent {
if (peopleList.length <= 0) setIsLoadedSection();
setIsLoadedSection(false);
fetchPeople(filter)
.then(() => isLoaded && setIsLoadedSection(true))
.catch((error) => {