MCPcopy
hub / github.com/tone-row/flowchart-fun / setError

Function setError

app/src/lib/usePromptStore.ts:75–77  ·  view source on GitHub ↗
(error: string)

Source from the content-addressed store, hash-verified

73}
74
75export function setError(error: string) {
76 usePromptStore.setState({ error });
77}
78
79export function setCurrentText(text: string) {
80 usePromptStore.setState({ currentText: text });

Callers 1

useRunAiWithStoreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected