Skip to content

Commit

Permalink
dispatch delCollection instead of deleteCollection
Browse files Browse the repository at this point in the history
  • Loading branch information
PiyushChandra17 committed Jun 13, 2024
1 parent 2c887c5 commit d11ed16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/modules/IDE/actions/collections.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit d11ed16

Please sign in to comment.