Skip to content

Commit

Permalink
fix: fix minor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
kanitw committed Mar 22, 2020
1 parent 426de17 commit 4d604ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/normalize/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export class CoreNormalizer extends SpecMapper<NormalizerParams, FacetedUnitSpec

const concat: NormalizedSpec[] = [];

const {repeater, repeaterPrefix = ''} = params;
const {repeater = {}, repeaterPrefix = ''} = params;

const row = (!isArray(repeat) && repeat.row) || [repeater ? repeater.row : null];
const column = (!isArray(repeat) && repeat.column) || [repeater ? repeater.column : null];
Expand Down

0 comments on commit 4d604ab

Please sign in to comment.