File tree Expand file tree Collapse file tree 3 files changed +491
-430
lines changed Expand file tree Collapse file tree 3 files changed +491
-430
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ export class VisualizerHeader extends React.Component<{ model: Model }> {
78
78
@observer
79
79
export class VisualizerHeaderMain extends React . Component < { model : Model } > {
80
80
render ( ) {
81
+ const Spinner_ = Spinner as any ; // WTF typescript??
81
82
const m = this . props . model ;
82
83
return (
83
84
< div
@@ -94,7 +95,7 @@ export class VisualizerHeaderMain extends React.Component<{ model: Model }> {
94
95
{ ! m . isPolling &&
95
96
( m . loading ? (
96
97
< div style = { { padding : "0 4px" } } >
97
- < Spinner size = { Spinner . SIZE_SMALL } />
98
+ < Spinner_ size = { Spinner . SIZE_SMALL } />
98
99
</ div >
99
100
) : (
100
101
< Button minimal small className = "part-Icon" icon = "refresh" onClick = { ( ) => m . refresh ( ) } />
Original file line number Diff line number Diff line change @@ -43,7 +43,8 @@ export function hotComponent(
43
43
44
44
return observer ( ( props : any ) => {
45
45
const C = result ! . component ;
46
- return < C { ...props } /> ;
46
+ const C_ = C as any ; // WTF typescript/yarn??
47
+ return < C_ { ...props } /> ;
47
48
} ) as any ;
48
49
} ;
49
50
}
You can’t perform that action at this time.
0 commit comments