diff options
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( |
