Merge remote-tracking branch 'origin/main' into merge/main-into-dev
# Conflicts: # packages/app/src/app/h/[serverId]/index.tsx # packages/app/src/components/agent-stream-view.tsx # packages/app/src/utils/host-routes.ts
This commit is contained in:
@@ -171,7 +171,7 @@ export function useCommandCenter() {
|
||||
|
||||
const settingsRoute = useMemo<Href>(() => {
|
||||
const serverIdFromPath = activeServerId;
|
||||
return serverIdFromPath ? (buildHostSettingsRoute(serverIdFromPath) as Href) : "/";
|
||||
return serverIdFromPath ? buildHostSettingsRoute(serverIdFromPath) : "/";
|
||||
}, [activeServerId]);
|
||||
|
||||
const actionItems = useMemo(() => {
|
||||
@@ -234,7 +234,7 @@ export function useCommandCenter() {
|
||||
workspaceId,
|
||||
target: { kind: "agent", agentId: agent.id },
|
||||
});
|
||||
router.navigate(route as any);
|
||||
router.navigate(route);
|
||||
},
|
||||
[setOpen],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user