Commenting console.log
This commit is contained in:
1 parent
d85e72956c
commit
eda1270a3c
1 file changed
+2
-2
@@ -212,7 +212,7 @@ const styles = {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
getStyle: memoize((params: any) => {
|
getStyle: memoize((params: any) => {
|
||||||
console.log({ caller: 'getStyle', params });
|
// console.log({ caller: 'getStyle', params });
|
||||||
const { isSelected, feature, zoom } = params;
|
const { isSelected, feature, zoom } = params;
|
||||||
const styles = [
|
const styles = [
|
||||||
new Style({ stroke: isSelected ? trksegStrokeSel : trksegStroke }),
|
new Style({ stroke: isSelected ? trksegStrokeSel : trksegStroke }),
|
||||||
@@ -263,7 +263,7 @@ const styles = {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
getStyle: memoize((params: any) => {
|
getStyle: memoize((params: any) => {
|
||||||
console.log({ caller: 'getStyle', params });
|
// console.log({ caller: 'getStyle', params });
|
||||||
const { isSelected } = params;
|
const { isSelected } = params;
|
||||||
return new Style({ stroke: isSelected ? rteStrokeSel : rteStroke });
|
return new Style({ stroke: isSelected ? rteStrokeSel : rteStroke });
|
||||||
}, memoizeOptions),
|
}, memoizeOptions),
|
||||||
|
|||||||
Reference in new issue
Block a user