From 6a2f47fa6cd01a2547574014d5e73da694ec64ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Let=C3=ADcia=20Camara?= Date: Sat, 13 Oct 2018 18:05:25 -0300 Subject: [PATCH] Fix space between ambs items --- src/components/pages/AmbassadorsPage.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/components/pages/AmbassadorsPage.js b/src/components/pages/AmbassadorsPage.js index e72d768..b80ca0b 100644 --- a/src/components/pages/AmbassadorsPage.js +++ b/src/components/pages/AmbassadorsPage.js @@ -233,23 +233,22 @@ class AmbassadorsPage extends Component { addLocation(cities){ return ( -
-

+ + {(cities.length > 1) && (
)} {cities.map((location, index) => ( -
+ {`${(location.name).replace(/(^|\s)\S/g, l => l.toUpperCase())} - ${countries.getName(location.country)}`} -


-
+ {(cities.length > 1) && (

)} +
))} -
+ ); } addMapButton(nickname, cities){ const app = this; return ( -
-
+ {cities.map((location, index) => (
-

))} -
+ ); }