Commit 996cb134 authored by suhuiguang's avatar suhuiguang

let->const

parent 383999ee
......@@ -164,8 +164,8 @@ export default function marker3DFactory(WrappedComponent = 'div', options) {
}
};
markerCreated = (data) => {
let { isEditMode } = this.props;
let { markersCache } = data;
const { isEditMode } = this.props;
const { markersCache } = data;
if (markersCache.cacheMap.size > 0) {
this.props.onCreated(data);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment