diff --git a/src/compile/data/facet.ts b/src/compile/data/facet.ts index 512166aa49..0c678deeb1 100644 --- a/src/compile/data/facet.ts +++ b/src/compile/data/facet.ts @@ -213,7 +213,7 @@ export class FacetNode extends DataFlowNode { const hasSharedAxis: {row?: true; column?: true} = {}; for (const headerChannel of HEADER_CHANNELS) { for (const headerType of HEADER_TYPES) { - const headers = (layoutHeaders[headerChannel]?.[headerType]) ?? []; + const headers = layoutHeaders[headerChannel]?.[headerType] ?? []; for (const header of headers) { if (header.axes?.length > 0) { hasSharedAxis[headerChannel] = true;