Skip to content

Commit

Permalink
remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
Amy Chen authored and Amy Chen committed Mar 8, 2024
1 parent a7f60cd commit 2c60655
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/components/report/CopyPaste.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,6 @@ export default class CopyPaste extends Component {
);
if (!matchedCell) return true;
arrHeaderLengths.push(matchedCell.textContent?.length ?? 0);
// const rCells = r.querySelectorAll("th, td");
// rCells.forEach((cell, cIndex) => {
// if (cIndex === index) {
// arrHeaderLengths.push(cell.textContent?.length ?? 0);
// }
// });
});
// console.log("arr Lengths ", arrHeaderLengths);
const maxLength = Math.max(...arrHeaderLengths);
Expand Down

0 comments on commit 2c60655

Please sign in to comment.