mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-22 07:53:34 +01:00
removed promise from clone collection action
This commit is contained in:
parent
a15a4e4a2d
commit
b8451d01ca
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user