diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-05-09 23:14:52 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-05-09 23:14:52 -0700 |
| commit | 47c84bb74d44d8285c68fa1491d01ca3b08f827f (patch) | |
| tree | 04a6c21525085f9127e45372ecd671968605b496 /src/components/TitleBar/TitleBar.tsx | |
| parent | dc479feeb17f3615ae8215e1abccce3f787fbeeb (diff) | |
migrate to static API
Diffstat (limited to 'src/components/TitleBar/TitleBar.tsx')
| -rw-r--r-- | src/components/TitleBar/TitleBar.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
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( |
