This commit is contained in:
seb
2026-10-28 22:26:21 +01:00
parent 6d299c1f43
commit d21def186e

View File

@@ -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 || ''}`