diff --git a/src/transforms/interval.js b/src/transforms/interval.js index a84e0617135..0701e584ca8 100644 --- a/src/transforms/interval.js +++ b/src/transforms/interval.js @@ -13,7 +13,7 @@ function maybeInterval(interval) { // The interval may be specified either as x: {value, interval} or as {x, // interval}. The former is used, for example, for Plot.rect. function maybeIntervalValue(value, {interval} = {}) { - (value = {...maybeValue(value)}); + value = {...maybeValue(value)}; value.interval = maybeInterval(value.interval === undefined ? interval : value.interval); return value; }