hiposfer / hive

Your go-to routing app for public transport
GNU Lesser General Public License v3.0
10 stars 0 forks source link

MapView displays a warning on init in browser console #107

Closed mehdisadeghi closed 6 years ago

mehdisadeghi commented 6 years ago

ExceptionsManager.js:73 Warning: Failed prop type: The prop `region.latitude` is marked as required in `MapView`, but its value is `null`.
    in MapView (created by hive.components.screens.home.core.CityMap)
    in hive.components.screens.home.core.CityMap (created by hive.components.screens.home.core.Home)
    in RCTView (at View.js:78)
    in View (created by hive.components.screens.home.core.Home)
    in hive.components.screens.home.core.Home (created by G__34931)
    in G__34931 (at SceneView.js:17)
    in SceneView (at CardStack.js:466)
    in RCTView (at View.js:78)
    in View (at createAnimatedComponent.js:147)
    in AnimatedComponent (at Card.js:12)
    in Card (at PointerEventsContainer.js:39)
    in Container (at CardStack.js:498)
    in RCTView (at View.js:78)
    in View (at CardStack.js:414)
    in RCTView (at View.js:78)
    in View (at CardStack.js:413)
    in CardStack (at CardStackTransitioner.js:67)
    in RCTView (at View.js:78)
    in View (at Transitioner.js:142)
    in Transitioner (at CardStackTransitioner.js:19)
    in CardStackTransitioner (at StackNavigator.js:41)
    in Unknown (at createNavigator.js:13)
    in Navigator (at createNavigationContainer.js:226)
    in NavigationContainer (created by hive.components.router.Router)
    in hive.components.router.Router (created by hive.core.RootUi)
    in hive.core.RootUi (created by env.expo.main.reloader)
    in env.expo.main.reloader
    in Unknown (at registerRootComponent.js:35)
    in RootErrorBoundary (at registerRootComponent.js:34)
    in ExpoRootComponent (at renderApplication.js:35)
    in RCTView (at View.js:78)
    in View (at AppContainer.js:102)
    in RCTView (at View.js:78)
    in View (at AppContainer.js:122)
    in AppContainer (at renderApplication.js:34)

It's harmless though.