Skip to content

Commit

Permalink
Revert memoize for state.window
Browse files Browse the repository at this point in the history
  • Loading branch information
notthatjen committed Jun 9, 2024
1 parent e930d41 commit faaaa70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/state.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class State {
}

setProxyWindow() {
this.window ||= this.create(window)
this.window = this.create(window)
}

getEntityByElement(el, entities = Array.from(this.entities.values())) {
Expand Down

0 comments on commit faaaa70

Please sign in to comment.