()
| 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) => { |
nothing calls this directly
no test coverage detected