diff --git a/app/browser/bookmarksExporter.js b/app/browser/bookmarksExporter.js index 6923549207e..0d5a676eaec 100644 --- a/app/browser/bookmarksExporter.js +++ b/app/browser/bookmarksExporter.js @@ -43,7 +43,7 @@ const showDialog = (state) => { personal = createBookmarkArray(state) other = createBookmarkArray(state, -1, false) try { - fs.writeFileSync(fileName, createBookmarkHTML(personal, other)) + fs.writeFileSync(fileNames[0], createBookmarkHTML(personal, other)) } catch (e) { console.log('Error exporting bookmarks: ', e) }