Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
Address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
smason0 committed Oct 13, 2023
1 parent c582488 commit e96fa4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/terra-data-grid/src/FlowsheetDataGrid.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ function FlowsheetDataGrid(props) {
</>
);

const newRows = rows;
const newRows = [...rows];
newRows.forEach((row, rowIndex) => {
const newCells = row.cells;
const newCells = [...row.cells];
newCells.forEach((cell, cellIndex) => {
// Cell has no content and is not a row header (first column), set content to "No result".
if (!cell.content && cellIndex !== 0) {
Expand Down

0 comments on commit e96fa4b

Please sign in to comment.