From 5f26747d87886eb1366dec829f43384821310c8e Mon Sep 17 00:00:00 2001 From: Valeria Stromtsova Date: Sat, 16 May 2020 18:52:05 +0300 Subject: [PATCH] #4: Fixed location name displaying on location search --- src/features/map/MapScreen.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/features/map/MapScreen.js b/src/features/map/MapScreen.js index ec36b4e..a317f11 100644 --- a/src/features/map/MapScreen.js +++ b/src/features/map/MapScreen.js @@ -73,7 +73,11 @@ export const MapScreen = props => { searchResults.map(item => ( props.navigation.navigate('Location', { location: item, @@ -81,7 +85,11 @@ export const MapScreen = props => { } /> ))} - {isFetching && } + {isFetching && ( + + + + )} );