From 216eac08a35225fc0cdc6538ad5ab53005773444 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Rivi=C3=A8re?= Date: Fri, 24 Sep 2021 15:31:05 +0200 Subject: [PATCH] Update src/transforms/interval.js --- src/transforms/interval.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }