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';
1515import FormControl from '@material-ui/core/FormControl' ;
1616import { deleteSeries , setCurrentTabInApp } from '../../../actions/actions' ;
1717import { 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' ;
4719
4820/* DEFAULTS */
4921const margin = {
@@ -343,7 +315,7 @@ const BarGraphComparisonActions = props => {
343315 </ div >
344316 < div >
345317 {
346- `${ tooltipData . bar . data [ tooltipData . key ] } ms`
318+ `${ tooltipData . bar . data [ tooltipData . key ] } ms`
347319 }
348320 </ div >
349321 < div >
You can’t perform that action at this time.
0 commit comments