MCPcopy Create free account
hub / github.com/ScrapeGraphAI/scrapecraft / handleSubmit

Function handleSubmit

frontend/src/components/Chat/InputArea.tsx:34–40  ·  view source on GitHub ↗
(e: React.FormEvent)

Source from the content-addressed store, hash-verified

32 ];
33
34 const handleSubmit = (e: React.FormEvent) => {
35 e.preventDefault();
36 if (message.trim() && !isLoading && currentPipeline) {
37 sendMessage(message, currentPipeline.id);
38 setMessage('');
39 }
40 };
41
42 const handleKeyDown = (e: KeyboardEvent<HTMLTextAreaElement>) => {
43 if (e.key === 'Enter' && !e.shiftKey) {

Callers 1

handleKeyDownFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected