diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-10-27 01:18:14 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-10-27 01:18:14 -0700 |
| commit | 2da73adb2bd352304022d4bcb033eaa558f8762d (patch) | |
| tree | 4b2cbf20f994bde9fe6fb352d4df763d71646e7a /src | |
| parent | 18ba9ef9f35e8410bc50caf4820a9799a8dd0faa (diff) | |
fix groups fetch
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/TitleBar/TitleBar.tsx | 7 |
1 files changed, 1 insertions, 6 deletions
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<TitleBarProps> = ({ 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( |
