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 }> {
7878@observer
7979export class VisualizerHeaderMain extends React . Component < { model : Model } > {
8080 render ( ) {
81+ const Spinner_ = Spinner as any ; // WTF typescript??
8182 const m = this . props . model ;
8283 return (
8384 < div
@@ -94,7 +95,7 @@ export class VisualizerHeaderMain extends React.Component<{ model: Model }> {
9495 { ! m . isPolling &&
9596 ( m . loading ? (
9697 < div style = { { padding : "0 4px" } } >
97- < Spinner size = { Spinner . SIZE_SMALL } />
98+ < Spinner_ size = { Spinner . SIZE_SMALL } />
9899 </ div >
99100 ) : (
100101 < 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(
4343
4444 return observer ( ( props : any ) => {
4545 const C = result ! . component ;
46- return < C { ...props } /> ;
46+ const C_ = C as any ; // WTF typescript/yarn??
47+ return < C_ { ...props } /> ;
4748 } ) as any ;
4849 } ;
4950}
You can’t perform that action at this time.
0 commit comments