diff --git a/src/creators/HeatmapLayerCreator.js b/src/creators/HeatmapLayerCreator.js index 83b99143..24353de2 100644 --- a/src/creators/HeatmapLayerCreator.js +++ b/src/creators/HeatmapLayerCreator.js @@ -33,12 +33,7 @@ const { eventPropTypes, registerEvents } = eventHandlerCreator(HeatmapLayerEvent export const heatmapLayerEventPropTypes = eventPropTypes; -@componentLifecycleDecorator({ - registerEvents, - instanceMethodName: `getHeatmapLayer`, - updaters: heatmapLayerUpdaters, -}) -export default class HeatmapLayerCreator extends Component { +class HeatmapLayerCreator extends Component { static propTypes = { mapHolderRef: PropTypes.instanceOf(GoogleMapHolder).isRequired, @@ -65,3 +60,11 @@ export default class HeatmapLayerCreator extends Component { return (