diff --git a/app/src/components/view/ranking/RankingListAll.tsx b/app/src/components/view/ranking/RankingListAll.tsx index 506d531..0c246ff 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") + return fetch("/api/score/week",{cache: "no-store"}) .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 4cbceb9..be11010 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") + return fetch("/api/score/week",{cache: "no-store"}) .then((response) => { if (!response.ok) { throw new Error("Failed to fetch data");