diff --git a/app/src/components/view/ranking/RankingListAll.tsx b/app/src/components/view/ranking/RankingListAll.tsx index 0c246ff..be6a2eb 100644 --- a/app/src/components/view/ranking/RankingListAll.tsx +++ b/app/src/components/view/ranking/RankingListAll.tsx @@ -10,7 +10,7 @@ export default function RankingListWeekly() { useEffect(() => { const fetchData = () => { setIsLoading(true); - return fetch("/api/score/week",{cache: "no-store"}) + return fetch("/api/score/week",{cache: "reload"}) .then((response) => { if (!response.ok) { throw new Error("Failed to fetch data"); diff --git a/app/src/components/view/ranking/RankingListWeekly.tsx b/app/src/components/view/ranking/RankingListWeekly.tsx index be11010..6ad5fe5 100644 --- a/app/src/components/view/ranking/RankingListWeekly.tsx +++ b/app/src/components/view/ranking/RankingListWeekly.tsx @@ -10,7 +10,7 @@ export default function RankingListWeekly() { useEffect(() => { const fetchData = () => { setIsLoading(true); - return fetch("/api/score/week",{cache: "no-store"}) + return fetch("/api/score/week",{cache: "reload"}) .then((response) => { if (!response.ok) { throw new Error("Failed to fetch data");