Skip to content

Commit 97c010e

Browse files
Esref Durnagajus
Esref Durna
authored andcommittedJun 2, 2017
refactor: converting lodash map to es6 (#42)
converting lodash map to es6
1 parent d309f79 commit 97c010e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/mapDataUsingRowHeightIndex.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import wrapWord from './wrapWord';
1111
export default (unmappedRows, rowHeightIndex, config) => {
1212
const tableWidth = unmappedRows[0].length;
1313

14-
const mappedRows = _.map(unmappedRows, (cells, index0) => {
14+
const mappedRows = unmappedRows.map((cells, index0) => {
1515
const rowHeight = _.times(rowHeightIndex[index0], () => {
1616
return _.fill(Array(tableWidth), '');
1717
});

0 commit comments

Comments
 (0)
Please sign in to comment.