Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jzhan-canva committed May 23, 2024
1 parent 90f288f commit 8b0bb62
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/mobx-react/src/observerClass.ts
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,6 @@ function createObservablePropDescriptor(key: "props" | "state" | "context") {
if (admin.changedVariables.has(value)) {
admin.changedVariables.delete(value)
admin[key] = value
admin.pendingStateVersion = Symbol()
admin[atomKey].reportChanged()
} else if (admin.unchangedVariables.has(value)) {
admin.unchangedVariables.delete(value)
Expand Down

0 comments on commit 8b0bb62

Please sign in to comment.