fix: rename requests double notifications (#6677)

This commit is contained in:
shubh-bruno
2026-01-14 13:28:35 +05:30
committed by GitHub
parent 65ed6d3cfb
commit 4c110900c1

View File

@@ -817,7 +817,6 @@ export const renameItem
return ipcRenderer
.invoke('renderer:rename-item-filename', { oldPath: item.pathname, newPath, newName, newFilename, collectionPathname: collection.pathname })
.catch((err) => {
toast.error('Failed to rename the file');
console.error(err);
throw new Error('Failed to rename the file');
});