diff --git a/frontend/src/lib/repo.ts b/frontend/src/lib/repo.ts index 2f3824d..376560c 100644 --- a/frontend/src/lib/repo.ts +++ b/frontend/src/lib/repo.ts @@ -40,7 +40,7 @@ const getRouteByCategory = async (categoryId: number) => { } const getRoute = async (routeId: number) => { - let data = []; + let data = {}; if (import.meta.env.PROD) { const response = await fetch(`${API_URL}/route/${routeId}`); const json = await response.json();