MCPcopy Index your code
hub / github.com/TaskingAI/TaskingAI / onDeleteConfirm

Function onDeleteConfirm

frontend/src/components/plugins/index.tsx:205–222  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

203 await fetchData(value);
204 }
205 const onDeleteConfirm = async () => {
206 try {
207 await deletePlugin(bundleId)
208 const limit1: number = limit || 20
209 dispatch(fetchPluginData(limit1) as any);
210 if(createPluginRef.current) {
211 createPluginRef.current.getBundleList({
212 limit: 100,
213 offset: 0,
214 lang: 'en'
215 })
216 }
217 setUpdatePrevButton(true)
218 } catch (error) {
219 console.log(error)
220 }
221 setOpenDeleteModal(false)
222 }
223
224
225 const handleClickPlugin = (pluginId: string, pluginName: string) => {

Callers

nothing calls this directly

Calls 2

deletePluginFunction · 0.90
fetchPluginDataFunction · 0.90

Tested by

no test coverage detected