Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arctic-cli/interface
/ useDialog
Function
useDialog
packages/arctic/src/cli/cmd/tui/ui/dialog.tsx:143–149 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
141
}
142
143
export function useDialog() {
144
const value = useContext(ctx)
145
if (!value) {
146
throw new Error(
"useDialog must be used within a DialogProvider"
)
147
}
148
return value
149
}
Callers
15
App
Function · 0.90
DialogModel
Function · 0.90
ExistingConnectionDialog
Function · 0.90
createDialogProviderOptions
Function · 0.90
AutoMethod
Function · 0.90
CodeMethod
Function · 0.90
ApiMethod
Function · 0.90
OllamaMethod
Function · 0.90
OllamaPortStep
Function · 0.90
OllamaConnectingStep
Function · 0.90
MinimaxMethod
Function · 0.90
MinimaxGroupIdStep
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected