aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/TitleBar/TitleBar.tsx
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-05-09 23:14:52 -0700
committerPinapelz <yukais@pinapelz.com>2025-05-09 23:14:52 -0700
commit47c84bb74d44d8285c68fa1491d01ca3b08f827f (patch)
tree04a6c21525085f9127e45372ecd671968605b496 /src/components/TitleBar/TitleBar.tsx
parentdc479feeb17f3615ae8215e1abccce3f787fbeeb (diff)
migrate to static API
Diffstat (limited to 'src/components/TitleBar/TitleBar.tsx')
-rw-r--r--src/components/TitleBar/TitleBar.tsx2
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(
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage