mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-22 16:03:39 +01:00
cleanup
This commit is contained in:
parent
211f941b9f
commit
074cbf0c03
@ -288,9 +288,7 @@ export const renameItem = (newName, itemUid, collectionUid) => (dispatch, getSta
|
||||
}
|
||||
const { ipcRenderer } = window;
|
||||
|
||||
ipcRenderer.invoke('renderer:rename-item', item.pathname, newPathname, newName).then(() => {
|
||||
resolve()
|
||||
}).catch(reject);
|
||||
ipcRenderer.invoke('renderer:rename-item', item.pathname, newPathname, newName).then(resolve).catch(reject);
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user