Fix iteration over deleted bindings during page change (#421)
This commit is contained in:
parent
3856d3d5c4
commit
17c34b2d7d
1 changed files with 1 additions and 1 deletions
|
@ -522,7 +522,7 @@ export class TldrawApp extends StateManager<TDSnapshot> {
|
|||
}
|
||||
})
|
||||
|
||||
Object.keys(this.prevShapes)
|
||||
Object.keys(this.prevBindings)
|
||||
.filter((id) => !visited.has(id))
|
||||
.forEach((id) => {
|
||||
changedBindings[id] = undefined
|
||||
|
|
Loading…
Reference in a new issue