Skip to content

Commit 69a7999

Browse files
committed
Fix merge modifying attr map
1 parent 275ea6f commit 69a7999

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/circuit.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ export class HeadlessCircuit {
170170
cellArgs.graph = this._makeGraph(subcircuits[dev.celltype], subcircuits, { nested: true });
171171
const cell = new cellType(cellArgs);
172172
const cellAttrs = _.merge(
173+
{},
173174
this._cellAttributes[cell.get('type')],
174175
this._cellAttributes[cell.get('celltype')]
175176
);

0 commit comments

Comments
 (0)