diff --git a/packages/bruno-app/src/providers/ReduxStore/slices/collections/actions.js b/packages/bruno-app/src/providers/ReduxStore/slices/collections/actions.js index 1a38b77c8..9c799c234 100644 --- a/packages/bruno-app/src/providers/ReduxStore/slices/collections/actions.js +++ b/packages/bruno-app/src/providers/ReduxStore/slices/collections/actions.js @@ -942,15 +942,13 @@ export const createCollection = (collectionName, collectionFolderName, collectio export const cloneCollection = (collectionName, collectionFolderName, collectionLocation, perviousPath) => () => { const { ipcRenderer } = window; - return new Promise((resolve, reject) => { - ipcRenderer.invoke( - 'renderer:clone-collection', - collectionName, - collectionFolderName, - collectionLocation, - perviousPath - ); - }); + return ipcRenderer.invoke( + 'renderer:clone-collection', + collectionName, + collectionFolderName, + collectionLocation, + perviousPath + ); }; export const openCollection = () => () => { return new Promise((resolve, reject) => {