react undefined cannot typeerror property read leaflet map geojson dependencies importing app file into here