mirror of https://github.com/status-im/reagent.git
Setting dirty on on-set is not necessary any more
This commit is contained in:
parent
e05c74e6a5
commit
995e110946
|
@ -283,7 +283,6 @@
|
|||
(let [oldval state]
|
||||
(set! state newval)
|
||||
(when (some? on-set)
|
||||
(set! dirtyness dirty)
|
||||
(on-set oldval newval))
|
||||
(-notify-watches a oldval newval)
|
||||
newval))
|
||||
|
|
Loading…
Reference in New Issue