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) => {
|
||||
console.log({ caller: 'getStyle', params });
|
||||
// console.log({ caller: 'getStyle', params });
|
||||
const { isSelected, feature, zoom } = params;
|
||||
const styles = [
|
||||
new Style({ stroke: isSelected ? trksegStrokeSel : trksegStroke }),
|
||||
@@ -263,7 +263,7 @@ const styles = {
|
||||
};
|
||||
},
|
||||
getStyle: memoize((params: any) => {
|
||||
console.log({ caller: 'getStyle', params });
|
||||
// console.log({ caller: 'getStyle', params });
|
||||
const { isSelected } = params;
|
||||
return new Style({ stroke: isSelected ? rteStrokeSel : rteStroke });
|
||||
}, memoizeOptions),
|
||||
|
||||
Reference in new issue
Block a user