MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / useExtensionState

Function useExtensionState

webview-ui/src/context/ExtensionStateContext.tsx:640–648  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

638}
639
640export const useExtensionState = () => {
641 const context = useContext(ExtensionStateContext)
642
643 if (context === undefined) {
644 throw new Error("useExtensionState must be used within an ExtensionStateContextProvider")
645 }
646
647 return context
648}

Callers 15

AppFunction · 0.90
MarketplaceListViewFunction · 0.90
MarketplaceItemCardFunction · 0.90
WorktreesViewFunction · 0.90
ChatRowContentFunction · 0.90
TaskActionsFunction · 0.90
ChatTextArea.tsxFile · 0.90
TaskHeaderFunction · 0.90
ErrorRow.tsxFile · 0.90
ReasoningBlockFunction · 0.90
CommandExecutionFunction · 0.90
AutoApproveDropdownFunction · 0.90

Calls

no outgoing calls

Tested by 4

TestComponentFunction · 0.72
RulesTestComponentFunction · 0.72
ApiConfigTestComponentFunction · 0.72