From c9a58d1d82d18293d68454c5966fd8f8c3367934 Mon Sep 17 00:00:00 2001 From: nose221834 Date: Sat, 16 Nov 2024 23:01:58 +0900 Subject: [PATCH] =?UTF-8?q?reload=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/components/view/ranking/RankingListAll.tsx | 2 +- app/src/components/view/ranking/RankingListWeekly.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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");