u
This commit is contained in:
@@ -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 || ''}`
|
||||
|
||||
Reference in New Issue
Block a user