MCPcopy Create free account
hub / github.com/arctic-cli/interface / useDiffComponent

Function useDiffComponent

packages/ui/src/context/diff.tsx:9–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7}
8
9export function useDiffComponent() {
10 const component = useContext(DiffComponentContext)
11 if (!component) throw new Error("DiffComponentProvider must be used to provide a diff component")
12 return component
13}

Callers 3

SessionTurnFunction · 0.90
SessionReviewFunction · 0.90
renderFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected