Skip to content

Commit

Permalink
fix(axis): fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
scottdickerson committed Dec 18, 2019
1 parent 2da3404 commit debeed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/components/axes/axis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export class Axis extends Component {

if (axisOptions.scaleType === ScaleTypes.TIME) {
if (Tools.getProperty(options, "timeScale", "addSpaceOnEdges")) {
const timeRangeToExtend = Tools.getProperty(options, "timeScale", "timeRangeToExtend")
const timeRangeToExtend = Tools.getProperty(options, "timeScale", "timeRangeToExtend");
const startDate = new Date(domain[0]);
const endDate = new Date(domain[1]);
if (differenceInYears(endDate, startDate) > timeRangeToExtend) {
Expand Down

0 comments on commit debeed9

Please sign in to comment.