From d21def186e13bb6d4191095dd3e8b1d60bf559c7 Mon Sep 17 00:00:00 2001 From: seb Date: Wed, 28 Oct 2026 22:26:21 +0100 Subject: [PATCH] u --- src/components/chat/userEnv.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/chat/userEnv.js b/src/components/chat/userEnv.js index a6606ca..a61a412 100644 --- a/src/components/chat/userEnv.js +++ b/src/components/chat/userEnv.js @@ -1,3 +1,5 @@ +import { router } from '../../appRouter'; + /** * Resolves the active frontend route (path + search query). * Falls back to window.location if router is not directly accessible. @@ -126,7 +128,6 @@ export async function navigateToClientRoute(route, toolCallId) { } try { - const { router } = await import('../../appRouter'); if (router?.navigate) { const current = router.state?.location ? `${router.state.location.pathname}${router.state.location.search || ''}`