Skip to content

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

fix: #135

thecodrrdb5531f0f04c
diff --git a/apps/web/src/common/selectionoptions.js b/apps/web/src/common/selectionoptions.js
index b6222fcfa..b17f5c8d2 100644
--- a/apps/web/src/common/selectionoptions.js
+++ b/apps/web/src/common/selectionoptions.js
@@ -30,7 +30,7 @@ const DeleteOption = createOption(Icon.Trash2, async function(state) {
const item = state.selectedItems[0];
var isAnyNoteOpened = false;
const editorState = editorStore.getState();
- const items = state.selectedItems.map(async item => {
+ const items = state.selectedItems.map(item => {
if (item.id === editorState.session.id) isAnyNoteOpened = true;
if (item.locked) return 0;
return item.id;