diff --git a/packages/bruno-app/src/components/Sidebar/TitleBar/index.js b/packages/bruno-app/src/components/Sidebar/TitleBar/index.js index 6f683a646..ebf8c608d 100644 --- a/packages/bruno-app/src/components/Sidebar/TitleBar/index.js +++ b/packages/bruno-app/src/components/Sidebar/TitleBar/index.js @@ -26,7 +26,7 @@ const TitleBar = () => { setImportCollectionLocationModalOpen(true); }; - const handleImportCollectionLocation = (collectionLocation, useTranslation) => { + const handleImportCollectionLocation = (collectionLocation) => { dispatch(importCollection(importedCollection, collectionLocation)); setImportCollectionLocationModalOpen(false); setImportedCollection(null); diff --git a/packages/bruno-app/src/components/Welcome/index.js b/packages/bruno-app/src/components/Welcome/index.js index 8969f6278..251d0a9fe 100644 --- a/packages/bruno-app/src/components/Welcome/index.js +++ b/packages/bruno-app/src/components/Welcome/index.js @@ -29,8 +29,8 @@ const Welcome = () => { setImportCollectionLocationModalOpen(true); }; - const handleImportCollectionLocation = (collectionLocation, enableTRanslation = true) => { - dispatch(importCollection(importedCollection, collectionLocation, enableTranslation)); + const handleImportCollectionLocation = (collectionLocation) => { + dispatch(importCollection(importedCollection, collectionLocation)); setImportCollectionLocationModalOpen(false); setImportedCollection(null); toast.success('Collection imported successfully'); diff --git a/packages/bruno-electron/src/ipc/collection.js b/packages/bruno-electron/src/ipc/collection.js index aed984849..ae47d6e06 100644 --- a/packages/bruno-electron/src/ipc/collection.js +++ b/packages/bruno-electron/src/ipc/collection.js @@ -403,7 +403,7 @@ const registerRendererEventHandlers = (mainWindow, watcher, lastOpenedCollection } }); - ipcMain.handle('renderer:import-collection', async (event, collection, collectionLocation, enableTranslation) => { + ipcMain.handle('renderer:import-collection', async (event, collection, collectionLocation) => { try { let collectionName = sanitizeDirectoryName(collection.name); let collectionPath = path.join(collectionLocation, collectionName);