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:
parent
7a6a9b539b
commit
63dad62226
@ -75,8 +75,6 @@ class SectionBodyContent extends React.PureComponent {
|
||||
|
||||
if (peopleList.length <= 0) setIsLoadedSection();
|
||||
|
||||
setIsLoadedSection(false);
|
||||
|
||||
fetchPeople(filter)
|
||||
.then(() => isLoaded && setIsLoadedSection(true))
|
||||
.catch((error) => {
|
||||
|
Loading…
Reference in New Issue
Block a user