Skip to content

Commit 78b38af

Browse files
committed
fix: Student lounge
1 parent 85d6977 commit 78b38af

File tree

2 files changed

+47
-1
lines changed

2 files changed

+47
-1
lines changed

src/app/student/map/data/booths.json

+21
Original file line numberDiff line numberDiff line change
@@ -2604,6 +2604,27 @@
26042604
],
26052605
"type": "Polygon"
26062606
}
2607+
},
2608+
{
2609+
"id": -1,
2610+
"type": "Feature",
2611+
"properties": {
2612+
"id": -1,
2613+
"location": "library",
2614+
"exhibitorId": -1
2615+
},
2616+
"geometry": {
2617+
"coordinates": [
2618+
[
2619+
[18.07184042631846, 59.3481834676023],
2620+
[18.0718393024826, 59.3481353394769],
2621+
[18.072262988512136, 59.34813419356843],
2622+
[18.072266360018375, 59.348182321695134],
2623+
[18.07184042631846, 59.3481834676023]
2624+
]
2625+
],
2626+
"type": "Polygon"
2627+
}
26072628
}
26082629
]
26092630
}

src/components/shared/hooks/api/useExhibitors.tsx

+26-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,32 @@ export async function fetchExhibitors(
7070
}
7171
)
7272
const result = await res.json()
73-
return result as Exhibitor[]
73+
74+
return [
75+
...(result as Exhibitor[]),
76+
{
77+
id: -1,
78+
average_age: null,
79+
benefits: [],
80+
booths: [],
81+
cities: "",
82+
climate_compensation: false,
83+
company_website: "",
84+
competences: [],
85+
employments: [],
86+
fair_location: "",
87+
flyer: "",
88+
founded: null,
89+
groups: [],
90+
industries: [],
91+
location_special: "",
92+
locations: [],
93+
name: "Student Lounge",
94+
type: "Student Lounge",
95+
values: [],
96+
vyer_position: ""
97+
} as Exhibitor
98+
]
7499
}
75100

76101
/**

0 commit comments

Comments
 (0)