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

Function onDeleteConfirm

frontend/src/components/actions/index.tsx:227–237  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

225 setCustom(value)
226 }
227 const onDeleteConfirm = async () => {
228 try {
229 await deleteActions(actionId)
230 const limit1: number = limit || 20
231 dispatch(fetchActionData(limit1) as any);
232 setUpdatePrevButton(true)
233 } catch (error) {
234 console.log(error)
235 }
236 setOpenDeleteModal(false)
237 }
238 return (
239 <div className={styles["actions"]}>
240

Callers 1

handleOkFunction · 0.50

Calls 2

deleteActionsFunction · 0.90
fetchActionDataFunction · 0.90

Tested by

no test coverage detected