File tree 2 files changed +47
-1
lines changed
components/shared/hooks/api
2 files changed +47
-1
lines changed Original file line number Diff line number Diff line change 2604
2604
],
2605
2605
"type" : " Polygon"
2606
2606
}
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
+ }
2607
2628
}
2608
2629
]
2609
2630
}
Original file line number Diff line number Diff line change @@ -70,7 +70,32 @@ export async function fetchExhibitors(
70
70
}
71
71
)
72
72
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
+ ]
74
99
}
75
100
76
101
/**
You can’t perform that action at this time.
0 commit comments