Fix: memoization was showing stale values when morphing
This commit is contained in:
@@ -33,8 +33,7 @@ export default class extends Controller {
|
||||
}
|
||||
|
||||
get #entropyCleanupInDays() {
|
||||
this.entropyCleanupInDays ??= signedDifferenceInDays(new Date(), new Date(this.entropyValue.closesAt))
|
||||
return this.entropyCleanupInDays
|
||||
return signedDifferenceInDays(new Date(), new Date(this.entropyValue.closesAt))
|
||||
}
|
||||
|
||||
#showEntropy() {
|
||||
|
||||
Reference in New Issue
Block a user