MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / confirm

Function confirm

packages/ui/src/hooks/useConfirm.jsx:24–32  ·  view source on GitHub ↗
(confirmPayload)

Source from the content-addressed store, hash-verified

22 resolveCallback(false)
23 }
24 const confirm = (confirmPayload) => {
25 dispatch({
26 type: SHOW_CONFIRM,
27 payload: confirmPayload
28 })
29 return new Promise((res) => {
30 resolveCallback = res
31 })
32 }
33
34 return { confirm, onConfirm, onCancel, confirmState }
35}

Callers 15

deleteUserFunction · 0.85
deleteToolFunction · 0.85
deleteServerFunction · 0.85
deleteCredentialFunction · 0.85
runAgainFunction · 0.85
deleteChildEvaluationsFunction · 0.85
handleDeleteFileFunction · 0.85
deleteVariableFunction · 0.85
handleDeleteFlowFunction · 0.85
checkIfHasChangedFunction · 0.85
handleDeleteFlowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected