MCPcopy Create free account
hub / github.com/bhaskatripathi/Text2Diagram / handleChange

Function handleChange

components/APIKeyInput.tsx:23–24  ·  view source on GitHub ↗
(e: ChangeEvent<HTMLInputElement>)

Source from the content-addressed store, hash-verified

21 const [model, setModel] = useAtom(modelAtom);
22
23 const handleChange = (e: ChangeEvent<HTMLInputElement>) =>
24 setApiKey(e.target.value);
25
26 const handleModelChange = (value: OpenAIModel) => {
27 setModel(value);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected