From 211f941b9f9e56b2809890d295db953ceaf83be4 Mon Sep 17 00:00:00 2001 From: Jack Scotson Date: Sun, 15 Oct 2023 10:16:41 +0100 Subject: [PATCH] rm renameitem --- .../src/providers/ReduxStore/slices/collections/actions.js | 2 -- 1 file changed, 2 deletions(-) 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 79f3384b8..3a5e17bce 100644 --- a/packages/bruno-app/src/providers/ReduxStore/slices/collections/actions.js +++ b/packages/bruno-app/src/providers/ReduxStore/slices/collections/actions.js @@ -31,7 +31,6 @@ import { requestCancelled, responseReceived, newItem as _newItem, - renameItem as _renameItem, cloneItem as _cloneItem, deleteItem as _deleteItem, saveRequest as _saveRequest, @@ -290,7 +289,6 @@ export const renameItem = (newName, itemUid, collectionUid) => (dispatch, getSta const { ipcRenderer } = window; ipcRenderer.invoke('renderer:rename-item', item.pathname, newPathname, newName).then(() => { - dispatch(_renameItem({ newName, itemUid, collectionUid })) resolve() }).catch(reject); });