From d11ed164a4490b86cc5fdd48e2f85d3448a0607d Mon Sep 17 00:00:00 2001 From: Piyush Date: Fri, 14 Jun 2024 01:05:01 +0530 Subject: [PATCH] dispatch delCollection instead of deleteCollection --- client/modules/IDE/actions/collections.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/modules/IDE/actions/collections.js b/client/modules/IDE/actions/collections.js index 5c0b01d41a..785b84e150 100644 --- a/client/modules/IDE/actions/collections.js +++ b/client/modules/IDE/actions/collections.js @@ -146,7 +146,7 @@ export function deleteCollection(collectionId) { return apiClient .delete(url) .then((response) => { - dispatch(deleteCollection(response.data, collectionId)); + dispatch(delCollection(response.data, collectionId)); return response.data; }) .catch((error) => {