Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #11 from YassinEldeeb/fix-unnecessary-refetching
Browse files Browse the repository at this point in the history
fix: infinitely fetching meetups
  • Loading branch information
danstarns authored Mar 2, 2024
2 parents 27b4f3d + 6d510f3 commit 7b973b3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/components/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function Footer() {
console.error(error);
}
})();
});
}, []);

const unsetContinents = meetups.map((meetup) => meetup.continent);
const continents = [...new Set(unsetContinents)];
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"prettier": "3.0.3",
"ts-node": "10.9.1",
"turbo": "1.10.16",
"typescript": "5.2.2"
"typescript": "5.2.2",
"cross-env": "7.0.3"
},
"pnpm": {
"peerDependencyRules": {
Expand Down
11 changes: 11 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7b973b3

Please sign in to comment.