More work with subscriptions

This commit is contained in:
vjrj 2017-12-17 02:00:53 +01:00
parent 316e14f0ea
commit 918103a17b
12 changed files with 29 additions and 14 deletions

View file

@ -174,6 +174,6 @@ SelectionMap.propTypes = {
};
export default translate([], { wait: true })(withTracker(props => ({
center: props.center[0] ? props.center : geolocation.get(),
center: props.center[0] !== null ? props.center : geolocation.get(),
distance: props.distance
}))(SelectionMap));