From c37b32ac946c14b100326e6bb2f6ddcae2ac9400 Mon Sep 17 00:00:00 2001 From: kara Diaby Date: Tue, 19 May 2020 15:28:42 +0200 Subject: [PATCH] fix the search input addresses return box bug [Carto] --- app/javascript/components/MapEditor/SearchInput.js | 13 +------------ yarn.lock | 7 ++++++- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/app/javascript/components/MapEditor/SearchInput.js b/app/javascript/components/MapEditor/SearchInput.js index 3e9d4f1b7..ae82126af 100644 --- a/app/javascript/components/MapEditor/SearchInput.js +++ b/app/javascript/components/MapEditor/SearchInput.js @@ -58,18 +58,7 @@ const SearchInput = ({ getCoords }) => { onChange={handleSearchTermChange} /> {addresses.features && ( - + {addresses.features.length > 0 ? ( {addresses.features.map((feature) => { diff --git a/yarn.lock b/yarn.lock index 9617e32c5..d6356ff39 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9160,7 +9160,12 @@ ts-pnp@^1.1.6: resolved "https://registry.yarnpkg.com/ts-pnp/-/ts-pnp-1.2.0.tgz#a500ad084b0798f1c3071af391e65912c86bca92" integrity sha512-csd+vJOb/gkzvcCHgTGSChYpy5f1/XKNsmvBGO4JXS+z1v2HobugDz4s1IeFXM3wZB44uczs+eazB5Q/ccdhQw== -tslib@^1.11.2, tslib@^1.9.0, tslib@^1.9.3: +tslib@^1.11.2: + version "1.13.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.13.0.tgz#c881e13cc7015894ed914862d276436fa9a47043" + integrity sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q== + +tslib@^1.9.0, tslib@^1.9.3: version "1.12.0" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.12.0.tgz#d1fc9cacd06a1456c62f2902b361573e83d66473" integrity sha512-5rxCQkP0kytf4H1T4xz1imjxaUUPMvc5aWp0rJ/VMIN7ClRiH1FwFvBt8wOeMasp/epeUnmSW6CixSIePtiLqA==