Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

feat: cleanup backup loading dialog

thecodrr9be9116aef9c
diff --git a/apps/web/src/common/index.js b/apps/web/src/common/index.js
index d945ff33d..d0e165c9e 100644
--- a/apps/web/src/common/index.js
+++ b/apps/web/src/common/index.js
@@ -1,8 +1,5 @@
-import React from "react";
import SelectionOptions from "./selectionoptions";
-import { showToast } from "../utils/toast";
import download from "../utils/download";
-import { Text } from "rebass";
import {
showFeatureDialog,
showLoadingDialog,
diff --git a/apps/web/src/interfaces/fs.js b/apps/web/src/interfaces/fs.js
index 0737eabe0..481bb1de8 100644
--- a/apps/web/src/interfaces/fs.js
+++ b/apps/web/src/interfaces/fs.js
@@ -34,7 +34,6 @@ async function writeEncryptedFile(file, key, hash) {
let offset = 0;
let encrypted = 0;
const fileHandle = await streamablefs.createFile(hash, file.size, file.type);
-
sendAttachmentsProgressEvent("encrypt", hash, 1, 0);
const iv = await crypto.encryptStream(