From 20d2f3805e7fa10f1c90a2cd47bd1bfb379df81f Mon Sep 17 00:00:00 2001 From: Alistair Smith Date: Tue, 9 Sep 2025 21:21:03 -0700 Subject: [PATCH] force passing a cacheId --- packages/bun-framework-react/client/router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bun-framework-react/client/router.ts b/packages/bun-framework-react/client/router.ts index 0cae351312..4a4eaa4a17 100644 --- a/packages/bun-framework-react/client/router.ts +++ b/packages/bun-framework-react/client/router.ts @@ -28,7 +28,7 @@ export class Router { this.cachedPages.set(id, page); } - async navigate(href: string, cacheId?: number): Promise { + async navigate(href: string, cacheId: number | undefined): Promise { const thisNavigationId = ++this.lastNavigationId; const olderController = this.lastNavigationController;