Skip to content

Commit dc14bf8

Browse files
committed
fix a crash with exclusive facets and hexbin
1 parent 775d073 commit dc14bf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function valueof(data, value, type) {
2525
}
2626

2727
function maybeTake(values, index) {
28-
return index ? take(values, index) : values;
28+
return index && values ? take(values, index) : values;
2929
}
3030

3131
function maybeTypedMap(data, f, type) {

0 commit comments

Comments
 (0)