Skip to content

Commit

Permalink
fix: mixed content structure build - index jump
Browse files Browse the repository at this point in the history
  • Loading branch information
leoreisdias committed Sep 8, 2023
1 parent 2b83dfe commit aeac2ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/rows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const handleMixedStructure = (data: ExcelEntDataStructure) => {
const transposed = transposeMatrixWithPadding(columnsContent);

rows.push(...transposed);
currentIndex = nextRowIndex === -1 ? currentIndex : nextRowIndex - 1;
currentIndex = nextRowIndex === -1 ? currentIndex : nextRowIndex;
}
}

Expand Down

0 comments on commit aeac2ee

Please sign in to comment.