From 47c84bb74d44d8285c68fa1491d01ca3b08f827f Mon Sep 17 00:00:00 2001
From: Pinapelz <yukais@pinapelz.com>
Date: Fri, 9 May 2025 23:14:52 -0700
Subject: migrate to static API

---
 src/components/TitleBar/TitleBar.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

diff --git a/src/components/TitleBar/TitleBar.tsx b/src/components/TitleBar/TitleBar.tsx
index f345f24..9fc8c34 100644
--- a/src/components/TitleBar/TitleBar.tsx
+++ b/src/components/TitleBar/TitleBar.tsx
@@ -41,7 +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 + "/api/groups");
+        const response = await fetch(apiUrl + "/groups.json");
         const data = await response.json();
         setPhaseData(data);
         const initialCollapsedState = Object.keys(data).reduce(
-- 
cgit v1.2.3

