Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Commit

Permalink
Fix another nested iterator typescript issue
Browse files Browse the repository at this point in the history
  • Loading branch information
parzival418 committed Mar 8, 2022
1 parent 9b48ba9 commit fcbbce8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/plugins/inspectorPlugin/Inspector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ export class Inspector {
this.onData(data)

// go over each data control
for (const [key, control] of this.dataControls) {
const dataControlArray = Array.from(this.dataControls)
for (const [key, control] of dataControlArray) {
const isEqual = deepEqual(this.cache[key], data[key])

// compare agains the cache to see if it has changed
Expand Down

0 comments on commit fcbbce8

Please sign in to comment.