Merge pull request #1449 from mempool/nymkappa/bugfix/echart-warning
Remove unnecessary echart init option
This commit is contained in:
		
						commit
						acd4ab5357
					
				@ -33,8 +33,6 @@ export class HashrateChartComponent implements OnInit {
 | 
			
		||||
  chartOptions: EChartsOption = {};
 | 
			
		||||
  chartInitOptions = {
 | 
			
		||||
    renderer: 'svg',
 | 
			
		||||
    width: 'auto',
 | 
			
		||||
    height: 'auto',
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  hashrateObservable$: Observable<any>;
 | 
			
		||||
 | 
			
		||||
@ -31,8 +31,6 @@ export class HashrateChartPoolsComponent implements OnInit {
 | 
			
		||||
  chartOptions: EChartsOption = {};
 | 
			
		||||
  chartInitOptions = {
 | 
			
		||||
    renderer: 'svg',
 | 
			
		||||
    width: 'auto',
 | 
			
		||||
    height: 'auto',
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  hashrateObservable$: Observable<any>;
 | 
			
		||||
 | 
			
		||||
@ -27,8 +27,6 @@ export class PoolRankingComponent implements OnInit {
 | 
			
		||||
  chartOptions: EChartsOption = {};
 | 
			
		||||
  chartInitOptions = {
 | 
			
		||||
    renderer: 'svg',
 | 
			
		||||
    width: 'auto',
 | 
			
		||||
    height: 'auto',
 | 
			
		||||
  };
 | 
			
		||||
  chartInstance: any = undefined;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -27,8 +27,6 @@ export class PoolComponent implements OnInit {
 | 
			
		||||
  chartOptions: EChartsOption = {};
 | 
			
		||||
  chartInitOptions = {
 | 
			
		||||
    renderer: 'svg',
 | 
			
		||||
    width: 'auto',
 | 
			
		||||
    height: 'auto',
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  blocks: BlockExtended[] = [];
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user