diff --git a/modules/manifold/src/components/geo-feature-container.js b/modules/manifold/src/components/geo-feature-container.js index 849b689..b3fa377 100644 --- a/modules/manifold/src/components/geo-feature-container.js +++ b/modules/manifold/src/components/geo-feature-container.js @@ -3,6 +3,7 @@ import PropTypes from 'prop-types'; import styled from 'styled-components'; import KeplerGl from 'kepler.gl'; import {addDataToMap} from 'kepler.gl/actions'; +import {ReactReduxContext} from 'react-redux'; import GeoFeatureControl from './geo-feature-control'; import {connect} from '../custom-connect'; @@ -104,14 +105,21 @@ export class GeoFeatureContainer extends PureComponent { } return ( - selector(state).keplerGl} - mint={false} - id="map" - width={width} - height={height} - /> + + {({store}) => ( + selector(state).keplerGl} + store={store} + mint={false} + id="map" + width={width} + height={height} + /> + )} +