MCPcopy Index your code
hub / github.com/sqlchat/sqlchat / setPartialConnection

Function setPartialConnection

src/components/CreateConnectionModal.tsx:134–139  ·  view source on GitHub ↗
(state: Partial<Connection>)

Source from the content-addressed store, hash-verified

132 }, [sslType]);
133
134 const setPartialConnection = (state: Partial<Connection>) => {
135 setConnection({
136 ...connection,
137 ...state,
138 });
139 };
140
141 const handleSSLFileInputChange = (event: ChangeEvent<HTMLInputElement>) => {
142 const files = event.currentTarget.files;

Callers 3

handleSSLFileInputChangeFunction · 0.85
handleSSLValueChangeFunction · 0.85
CreateConnectionModalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected