style: linting fixes

This commit is contained in:
Shivam Mishra 2019-05-28 17:57:24 +05:30
parent e3c5397cf4
commit ece0015366
2 changed files with 3 additions and 3 deletions

View File

@ -51,4 +51,4 @@ export default {
} }
} }
} }
} };

View File

@ -34,8 +34,8 @@ export default class DonutChart extends AggregationChart {
let s = this.state; let s = this.state;
this.radius = this.radius =
this.height > this.width this.height > this.width
? this.center.x - this.strokeWidth / 2 ? this.center.x - this.strokeWidth / 2
: this.center.y - this.strokeWidth / 2; : this.center.y - this.strokeWidth / 2;
const { radius, clockWise } = this; const { radius, clockWise } = this;