diff --git a/src/app/student/map/data/booths.json b/src/app/student/map/data/booths.json index c0a6e3f..ff183a1 100644 --- a/src/app/student/map/data/booths.json +++ b/src/app/student/map/data/booths.json @@ -2604,6 +2604,27 @@ ], "type": "Polygon" } + }, + { + "id": -1, + "type": "Feature", + "properties": { + "id": -1, + "location": "library", + "exhibitorId": -1 + }, + "geometry": { + "coordinates": [ + [ + [18.07184042631846, 59.3481834676023], + [18.0718393024826, 59.3481353394769], + [18.072262988512136, 59.34813419356843], + [18.072266360018375, 59.348182321695134], + [18.07184042631846, 59.3481834676023] + ] + ], + "type": "Polygon" + } } ] } diff --git a/src/components/shared/hooks/api/useExhibitors.tsx b/src/components/shared/hooks/api/useExhibitors.tsx index dc7b714..f44ed5f 100644 --- a/src/components/shared/hooks/api/useExhibitors.tsx +++ b/src/components/shared/hooks/api/useExhibitors.tsx @@ -70,7 +70,32 @@ export async function fetchExhibitors( } ) const result = await res.json() - return result as Exhibitor[] + + return [ + ...(result as Exhibitor[]), + { + id: -1, + average_age: null, + benefits: [], + booths: [], + cities: "", + climate_compensation: false, + company_website: "", + competences: [], + employments: [], + fair_location: "", + flyer: "", + founded: null, + groups: [], + industries: [], + location_special: "", + locations: [], + name: "Student Lounge", + type: "Student Lounge", + values: [], + vyer_position: "" + } as Exhibitor + ] } /**