MCPcopy Index your code
hub / github.com/anomalyco/opencode / TargetSessionRoute

Function TargetSessionRoute

packages/app/src/pages/session.tsx:145–154  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

143}
144
145export function TargetSessionRoute() {
146 const params = useParams<{ serverKey: string; id: string }>()
147 return (
148 <Show when={`${params.serverKey}\0${params.id}`} keyed>
149 <SessionRouteErrorBoundary sessionID={params.id} serverKey={requireServerKey(params.serverKey)} padded>
150 <ResolvedTargetSessionRoute />
151 </SessionRouteErrorBoundary>
152 </Show>
153 )
154}
155
156function SessionRouteErrorBoundary(
157 props: ParentProps<{ sessionID?: string; serverKey?: ServerConnection.Key; padded?: boolean }>,

Callers

nothing calls this directly

Calls 1

requireServerKeyFunction · 0.90

Tested by

no test coverage detected