Skip to content

Commit

Permalink
bugfix #319 (#602)
Browse files Browse the repository at this point in the history
* fix incorrect number of authors on page  authors

* add cleanup on page load
  • Loading branch information
pavlyukdm authored Oct 6, 2021
1 parent 6c3157b commit 7bbf525
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/old/modules/experts/components/ExpertsView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ const ExpertsView: React.FC = () => {

useEffect(() => {
setGALocation(window);

return function cleanup() {
fetchData(false);
};
}, []);

useEffect(() => {
Expand Down

0 comments on commit 7bbf525

Please sign in to comment.