From a3a070855ccea84e75f89389c835772bbde66d10 Mon Sep 17 00:00:00 2001 From: Emanuele Cesena Date: Tue, 24 Jan 2017 10:10:35 -0800 Subject: [PATCH] Use dist instead of src in mapbox (#2027) I had issues compiling the src, I think it's because the syntax is different than the one used here? With the dist it works fine. I also saw there were other related issues in the past, so I'm suggesting to switch to the dist file. --- superset/assets/visualizations/mapbox.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/assets/visualizations/mapbox.jsx b/superset/assets/visualizations/mapbox.jsx index 46aacdf08ce22..249ffcca65370 100644 --- a/superset/assets/visualizations/mapbox.jsx +++ b/superset/assets/visualizations/mapbox.jsx @@ -4,7 +4,7 @@ import d3 from 'd3'; import React from 'react'; import ReactDOM from 'react-dom'; import MapGL from 'react-map-gl'; -import ScatterPlotOverlay from 'react-map-gl/src/overlays/scatterplot.react.js'; +import ScatterPlotOverlay from 'react-map-gl/dist/overlays/scatterplot.react.js'; import Immutable from 'immutable'; import supercluster from 'supercluster'; import ViewportMercator from 'viewport-mercator-project';