Skip to content

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

fix: returned items are empty when groupby is se to none

thecodrr16f2e651b4b4
diff --git a/packages/core/utils/grouping.js b/packages/core/utils/grouping.js
index 4b188d171..9155930e0 100644
--- a/packages/core/utils/grouping.js
+++ b/packages/core/utils/grouping.js
@@ -69,7 +69,6 @@ export function groupArray(
}
if (options.groupBy === "none") {
- let array = [];
const conflicted = [];
const pinned = [];
const others = [];