MCPcopy Create free account
hub / github.com/TaskingAI/TaskingAI / handleDelete

Function handleDelete

frontend/src/components/chunkPage/index.tsx:157–164  ·  view source on GitHub ↗
(record: any)

Source from the content-addressed store, hash-verified

155 setCreateOpenModal(false)
156 }
157 const handleDelete = async (record: any) => {
158 try {
159 setOpenDeleteModal(true)
160 setDeleteId(record.chunk_id)
161 } catch (e) {
162 console.log(e)
163 }
164 }
165 const onDeleteCancel = () => {
166 setOpenDeleteModal(false)
167 }

Callers 1

ChunkPageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected