From 18ba9ef9f35e8410bc50caf4820a9799a8dd0faa Mon Sep 17 00:00:00 2001
From: Pinapelz <yukais@pinapelz.com>
Date: Mon, 20 Oct 2025 12:11:04 -0700
Subject: add no-cache header to groups.json

---
 src/components/TitleBar/TitleBar.tsx | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

(limited to 'src/components/TitleBar/TitleBar.tsx')

diff --git a/src/components/TitleBar/TitleBar.tsx b/src/components/TitleBar/TitleBar.tsx
index 9ae8d1e..2ebd633 100644
--- a/src/components/TitleBar/TitleBar.tsx
+++ b/src/components/TitleBar/TitleBar.tsx
@@ -41,7 +41,12 @@ 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");
+        const response = await fetch(apiUrl + "/groups.json", {
+          cache: 'no-store',
+          headers: {
+            'Cache-Control': 'no-cache'
+          }
+        });
         const data = await response.json();
         setPhaseData(data);
         const initialCollapsedState = Object.keys(data).reduce(
-- 
cgit v1.2.3

