(params: object)
| 229 | getBundleList(params1) |
| 230 | }, []) |
| 231 | const getBundleList = async (params: object) => { |
| 232 | try { |
| 233 | const res: any = await getPluginList(params) |
| 234 | setBundlesList(res.data) |
| 235 | } catch (e) { |
| 236 | const apiError = e as ApiErrorResponse; |
| 237 | const errorMessage: string = apiError.response.data.error.message; |
| 238 | toast.error(errorMessage) |
| 239 | } |
| 240 | |
| 241 | |
| 242 | } |
| 243 | const handleChangeSearchChatID = (e: any) => { |
| 244 | setSearchChatID(e.target.value) |
| 245 | } |
no test coverage detected