MCPcopy Create free account
hub / github.com/dailydotdev/apps / handleFail

Function handleFail

packages/shared/src/components/modals/Prompt.tsx:44–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 } = options;
43 const isPending = isConfirming && confirmingPrompt.current === prompt;
44 const handleFail = () => {
45 confirmingPrompt.current = null;
46 setIsConfirming(false);
47 onFail();
48 };
49 const handleSuccess = () => {
50 if (isPending) {
51 return;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected