From 1387ac5b215e08163dede22a82db96cd72229f8e Mon Sep 17 00:00:00 2001 From: Aria Minaei Date: Sun, 27 Jun 2021 13:38:18 +0200 Subject: [PATCH] Chore: Removed a simple indirection. --- packages/dataverse/src/derivations/AbstractDerivation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dataverse/src/derivations/AbstractDerivation.ts b/packages/dataverse/src/derivations/AbstractDerivation.ts index efb11ae..955e461 100644 --- a/packages/dataverse/src/derivations/AbstractDerivation.ts +++ b/packages/dataverse/src/derivations/AbstractDerivation.ts @@ -113,7 +113,7 @@ export default abstract class AbstractDerivation implements IDerivation { if (!this._isFresh) { const newValue = this._recalculate() this._lastValue = newValue - if (this.isHot) { + if (this._isHot) { this._isFresh = true this._didMarkDependentsAsStale = false }