Chore: Removed a simple indirection.
This commit is contained in:
parent
1e52c7de7e
commit
1387ac5b21
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ export default abstract class AbstractDerivation<V> implements IDerivation<V> {
|
|||
if (!this._isFresh) {
|
||||
const newValue = this._recalculate()
|
||||
this._lastValue = newValue
|
||||
if (this.isHot) {
|
||||
if (this._isHot) {
|
||||
this._isFresh = true
|
||||
this._didMarkDependentsAsStale = false
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue