MCPcopy Index your code
hub / github.com/FlowiseAI/Flowise / handlePromptClick

Function handlePromptClick

packages/ui/src/views/chatmessage/ChatMessage.jsx:854–857  ·  view source on GitHub ↗
(promptStarterInput)

Source from the content-addressed store, hash-verified

852 }
853
854 const handlePromptClick = async (promptStarterInput) => {
855 setUserInput(promptStarterInput)
856 handleSubmit(undefined, promptStarterInput)
857 }
858
859 const handleFollowUpPromptClick = async (promptStarterInput) => {
860 setUserInput(promptStarterInput)

Callers 1

ChatMessageFunction · 0.85

Calls 1

handleSubmitFunction · 0.70

Tested by

no test coverage detected