MCPcopy Create free account
hub / github.com/ShipSecAI/studio / handleEditChange

Function handleEditChange

frontend/src/pages/SecretsManager.tsx:148–154  ·  view source on GitHub ↗
(field: keyof EditFormState)

Source from the content-addressed store, hash-verified

146
147 const handleEditChange =
148 (field: keyof EditFormState) =>
149 (event: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => {
150 setEditFormState((prev) => ({
151 ...prev,
152 [field]: event.target.value,
153 }));
154 };
155
156 const isFormValid = useMemo(() => {
157 return formState.name.trim().length > 0 && formState.value.trim().length > 0;

Callers 1

SecretsManagerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected