fix: params while involking renderer:remove-collection (#5218)

This commit is contained in:
naman-bruno
2025-07-30 00:27:24 +05:30
committed by GitHub
parent b571c1a1a5
commit 5150251698

View File

@@ -1064,7 +1064,7 @@ export const removeCollection = (collectionUid) => (dispatch, getState) => {
}
const { ipcRenderer } = window;
ipcRenderer
.invoke('renderer:remove-collection', collection.pathname)
.invoke('renderer:remove-collection', collection.pathname, collectionUid)
.then(() => {
dispatch(closeAllCollectionTabs({ collectionUid }));
})