aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-10-27 01:18:14 -0700
committerPinapelz <yukais@pinapelz.com>2025-10-27 01:18:14 -0700
commit2da73adb2bd352304022d4bcb033eaa558f8762d (patch)
tree4b2cbf20f994bde9fe6fb352d4df763d71646e7a /src
parent18ba9ef9f35e8410bc50caf4820a9799a8dd0faa (diff)
fix groups fetch
Diffstat (limited to 'src')
-rw-r--r--src/components/TitleBar/TitleBar.tsx7
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(
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage