Fix dimension not having keys
This commit is contained in:
parent
db0dbeaeab
commit
b4380570a2
2 changed files with 2 additions and 0 deletions
|
@ -78,6 +78,7 @@ function AddNewDimension(currentDepth: number, min: number, max: number, lastY:
|
||||||
|
|
||||||
dimensions.push(
|
dimensions.push(
|
||||||
<Dimension
|
<Dimension
|
||||||
|
key={id}
|
||||||
id={id}
|
id={id}
|
||||||
xStart={xStart}
|
xStart={xStart}
|
||||||
yStart={y}
|
yStart={y}
|
||||||
|
|
|
@ -22,6 +22,7 @@ const getDimensionsNodes = (root: ContainerModel): React.ReactNode[] => {
|
||||||
const text = width.toString();
|
const text = width.toString();
|
||||||
dimensions.push(
|
dimensions.push(
|
||||||
<Dimension
|
<Dimension
|
||||||
|
key={id}
|
||||||
id={id}
|
id={id}
|
||||||
xStart={xStart}
|
xStart={xStart}
|
||||||
yStart={y}
|
yStart={y}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue