File tree Expand file tree Collapse file tree 1 file changed +2
-30
lines changed
src/app/components/StateRoute/PerformanceVisx Expand file tree Collapse file tree 1 file changed +2
-30
lines changed Original file line number Diff line number Diff line change @@ -15,35 +15,7 @@ import MenuItem from '@material-ui/core/MenuItem';
15
15
import FormControl from '@material-ui/core/FormControl' ;
16
16
import { deleteSeries , setCurrentTabInApp } from '../../../actions/actions' ;
17
17
import { useStoreContext } from '../../../store' ;
18
-
19
- /* TYPESCRIPT */
20
-
21
- interface margin {
22
- top : number ;
23
- right : number ;
24
- bottom : number ;
25
- left : number ;
26
- }
27
-
28
- interface snapshot {
29
- snapshotId ?: string ;
30
- children : [ ] ;
31
- componentData : any ;
32
- name : string ;
33
- state : string ;
34
- }
35
-
36
- // On-hover data.
37
- interface TooltipData {
38
- bar : SeriesPoint < snapshot > ;
39
- key : string ;
40
- index : number ;
41
- height : number ;
42
- width : number ;
43
- x : number ;
44
- y : number ;
45
- color : string ;
46
- }
18
+ import { TooltipData , margin } from '../../FrontendTypes' ;
47
19
48
20
/* DEFAULTS */
49
21
const margin = {
@@ -343,7 +315,7 @@ const BarGraphComparisonActions = props => {
343
315
</ div >
344
316
< div >
345
317
{
346
- `${ tooltipData . bar . data [ tooltipData . key ] } ms`
318
+ `${ tooltipData . bar . data [ tooltipData . key ] } ms`
347
319
}
348
320
</ div >
349
321
< div >
You can’t perform that action at this time.
0 commit comments