MCPcopy Create free account
hub / github.com/MankaiHuang/screen-visualization / onNodePropertyChange

Function onNodePropertyChange

src/pages/Workspace/BluePrint.jsx:433–447  ·  view source on GitHub ↗
(value, id, type)

Source from the content-addressed store, hash-verified

431
432
433 const onNodePropertyChange = (value, id, type) => {
434 nowJudge.property.some(item => {
435 if (item.id === id) {
436 item.value = value;
437 return true
438 }
439 })
440 setNowJudge(nowJudge)
441 allNodeConfig[type].some(item => {
442 if (item.id === nowJudge.id) {
443 item = nowJudge
444 return true;
445 }
446 })
447 }
448 return (
449 <Modal
450 width="90%"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected