MCPcopy Create free account
hub / github.com/MiniMax-AI/OpenRoom / updateTarget

Function updateTarget

apps/webuiapps/src/components/ChatPanel/ModPanel.tsx:289–293  ·  view source on GitHub ↗
(stageIndex: number, targetIndex: number, value: string)

Source from the content-addressed store, hash-verified

287 };
288
289 const updateTarget = (stageIndex: number, targetIndex: number, value: string) => {
290 const updated = [...stages];
291 updated[stageIndex].targets[targetIndex].description = value;
292 setStages(updated);
293 };
294
295 const handleSave = () => {
296 const newConfig = editableToConfig(stages, config.id, modName, modNameEn, modDescription);

Callers 1

EditViewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected