diff --git a/src/runtime/utils/refreshHandler.ts b/src/runtime/utils/refreshHandler.ts index 5dca95c5..5da9e062 100644 --- a/src/runtime/utils/refreshHandler.ts +++ b/src/runtime/utils/refreshHandler.ts @@ -110,7 +110,7 @@ export class DefaultRefreshHandler implements RefreshHandler { } // Restart the timer to its original value. - this.startRefreshTimer(this.maxAgeMs) + this.startRefreshTimer(this.maxAgeMs ?? 0) }, durationMs) } }