File tree Expand file tree Collapse file tree 4 files changed +1670
-2609
lines changed Expand file tree Collapse file tree 4 files changed +1670
-2609
lines changed Original file line number Diff line number Diff line change 58
58
"workspaces" : {
59
59
"packages" :[" packages/*" ],
60
60
"nohoist" : [" **/clay-charts-shared" ]
61
+ },
62
+ "resolutions" : {
63
+ "js-beautify" : " 1.7.5"
61
64
}
62
65
}
Original file line number Diff line number Diff line change @@ -146,12 +146,10 @@ export class Geomap {
146
146
// Highlight the clicked province
147
147
this . mapLayer
148
148
. selectAll ( 'path' )
149
- . style (
150
- 'fill' ,
151
- d =>
152
- this . _selected && d === this . _selected
153
- ? this . _color . selected
154
- : this . _fillFn . bind ( this ) ( d )
149
+ . style ( 'fill' , d =>
150
+ this . _selected && d === this . _selected
151
+ ? this . _color . selected
152
+ : this . _fillFn . bind ( this ) ( d )
155
153
) ;
156
154
}
157
155
Original file line number Diff line number Diff line change @@ -23,7 +23,9 @@ const DEFAULT_TOOLTIP = {
23
23
const value =
24
24
isObject ( datum . value ) && datum . value . hasOwnProperty ( 'mid' )
25
25
? datum . value . mid
26
- : Array . isArray ( datum . value ) ? datum . value [ 1 ] : datum . value ;
26
+ : Array . isArray ( datum . value )
27
+ ? datum . value [ 1 ]
28
+ : datum . value ;
27
29
28
30
return `<table class="bb-tooltip">
29
31
<tbody>
You can’t perform that action at this time.
0 commit comments