+
{locs.map((item, index) => (
-
+
{item.title}
{item.address}
- {locIndex === index ?
: null}
+ {locIndex === index ? (
+
+ ) : null}
))}
{hasSug ? (
- {sugs.map(item =>
-
{item}
- )}
+ {sugs.map(item => (
+
+ {item}
+
+ ))}
) : null}
diff --git a/src/components/ImageGallery.tsx b/src/components/ImageGallery.tsx
index e824f22b..7959c59a 100644
--- a/src/components/ImageGallery.tsx
+++ b/src/components/ImageGallery.tsx
@@ -108,7 +108,7 @@ export class ImageGallery extends React.Component<
className={cx('ImageGallery-close')}
onClick={this.close}
>
-
+
{~index && items[index] ? (
<>
@@ -127,7 +127,7 @@ export class ImageGallery extends React.Component<
)}
onClick={this.prev}
>
-
+
-
+
>
) : null}
@@ -146,7 +146,7 @@ export class ImageGallery extends React.Component<
{items.length > 1 ? (
-
+
@@ -166,7 +166,7 @@ export class ImageGallery extends React.Component<
-
+
) : null}
diff --git a/src/components/LocationPicker.tsx b/src/components/LocationPicker.tsx
index 0ebef28f..4f2a2f87 100644
--- a/src/components/LocationPicker.tsx
+++ b/src/components/LocationPicker.tsx
@@ -172,7 +172,7 @@ export class LocationPicker extends React.Component<
) : null}
-
+
{
{itemRender(item)}
-
+
))
diff --git a/src/components/ResultList.tsx b/src/components/ResultList.tsx
index 7e371987..67c7686a 100644
--- a/src/components/ResultList.tsx
+++ b/src/components/ResultList.tsx
@@ -144,7 +144,10 @@ export class ResultList extends React.Component