cleanup code

This commit is contained in:
Abhinav 2023-05-04 17:44:00 +05:30
parent 98982b221c
commit 678342f616

View file

@ -88,7 +88,6 @@ class ExportService {
constructor() {
if (runningInBrowser()) {
this.electronAPIs = window['ElectronAPIs'];
this.fileReader = new FileReader();
}
}
@ -307,8 +306,9 @@ class ExportService {
}
const user: User = getData(LS_KEYS.USER);
const files = await getLocalFiles();
const collections = await getLocalCollections();
const personalFiles = getPersonalFiles(files, user);
const collections = await getLocalCollections();
const nonEmptyPersonalCollections = getNonEmptyPersonalCollections(
collections,
personalFiles,