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

Function openModal

src/components/Grid/Grid.jsx:50–55  ·  view source on GitHub ↗
(id = '')

Source from the content-addressed store, hash-verified

48 props.initData()
49 }
50 const openModal = (id = '') => {
51 setModalData({
52 showModal: true,
53 id,
54 })
55 }
56 const close = (values = '', id = '') => {
57 if (values !== '') {
58 addTemplate(values)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected