Skip to content

Commit

Permalink
removed force cache
Browse files Browse the repository at this point in the history
  • Loading branch information
reeyank committed Nov 14, 2024
1 parent cd70cbb commit 71e0396
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/app/components/LeaderBoard.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ const LeaderBoard = () => {

useEffect(() => {
async function fetchContributors() {
let res = await fetch("https://api.devdogs.uga.edu/getLeaderBoard", {
cache: "force-cache",
});
let res = await fetch("https://api.devdogs.uga.edu/getLeaderBoard");
let data = await res.json();
setContributors(data);
}
Expand Down

0 comments on commit 71e0396

Please sign in to comment.