Skip to content

Commit c02f825

Browse files
committed
prettier
1 parent 92c81bd commit c02f825

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

src/marks/area.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,16 @@ export function area(data, options) {
7878

7979
export function areaX(data, options) {
8080
const {x, y = indexOf, fill, z = x === fill ? null : undefined, ...rest} = maybeDenseIntervalY(options);
81-
return new Area(data, maybeStackX(maybeIdentityX({...rest, x, y1: y, y2: undefined, z, fill}, y === indexOf ? "x2" : "x")));
81+
return new Area(
82+
data,
83+
maybeStackX(maybeIdentityX({...rest, x, y1: y, y2: undefined, z, fill}, y === indexOf ? "x2" : "x"))
84+
);
8285
}
8386

8487
export function areaY(data, options) {
8588
const {x = indexOf, y, fill, z = y === fill ? null : undefined, ...rest} = maybeDenseIntervalX(options);
86-
return new Area(data, maybeStackY(maybeIdentityY({...rest, x1: x, x2: undefined, y, z, fill}, x === indexOf ? "y2" : "y")));
89+
return new Area(
90+
data,
91+
maybeStackY(maybeIdentityY({...rest, x1: x, x2: undefined, y, z, fill}, x === indexOf ? "y2" : "y"))
92+
);
8793
}

0 commit comments

Comments
 (0)