Archived
opt
This commit is contained in:
1 parent
9cd0b150af
commit
b092ed7334
1 file changed
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user