From 2da73adb2bd352304022d4bcb033eaa558f8762d Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Mon, 27 Oct 2025 01:18:14 -0700 Subject: fix groups fetch --- src/components/TitleBar/TitleBar.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/components/TitleBar') diff --git a/src/components/TitleBar/TitleBar.tsx b/src/components/TitleBar/TitleBar.tsx index 2ebd633..9ae8d1e 100644 --- a/src/components/TitleBar/TitleBar.tsx +++ b/src/components/TitleBar/TitleBar.tsx @@ -41,12 +41,7 @@ const TitleBar: React.FC = ({ const fetchPhaseData = async () => { const apiUrl = process.env.NEXT_PUBLIC_API_URL_TESTING; try { - const response = await fetch(apiUrl + "/groups.json", { - cache: 'no-store', - headers: { - 'Cache-Control': 'no-cache' - } - }); + const response = await fetch(apiUrl + "/groups.json"); const data = await response.json(); setPhaseData(data); const initialCollapsedState = Object.keys(data).reduce( -- cgit v1.2.3