MCPcopy Index your code
hub / github.com/github/docs / getFormData

Function getFormData

components/page-footer/Survey.tsx:76–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74 }
75
76 function getFormData() {
77 if (!formRef.current) return
78 return new FormData(formRef.current)
79 }
80
81 return (
82 <form className="f5" onSubmit={submit} ref={formRef} data-testid="survey-form">

Callers 3

voteFunction · 0.85
handleEmailInputChangeFunction · 0.85
submitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected