This commit is contained in:
Maciej Kotowski committed 2021-10-03 23:47:40 +02:00
1 parent 9cd0b150af
commit b092ed7334
1 file changed
+1 -1
+1 -1
View File
@@ -10,7 +10,7 @@ export const EventPreview = (props) => {
useEffect(() => {
getPlace([props.lon,props.lat]).then((value) => {
console.log(value);
setLocation(`${value.city ? value.city : value.county},${value.neighbourhood ? value.neighbourhood : ``} ` );
setLocation(`${value.city ? value.city : value.county},${value.neighbourhood ?? ``} ` );
});
console.log(props.time);
switch (props.type) {