Skip to content

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

fix: support for class properties is not enabled

thecodrr90306e5410f5
diff --git a/packages/core/api/conflicts.js b/packages/core/api/conflicts.js
index 42d85d3c8..70922b67b 100644
--- a/packages/core/api/conflicts.js
+++ b/packages/core/api/conflicts.js
@@ -9,10 +9,10 @@ class Conflicts {
this._db = db;
}
- recalculate = async () => {
+ async recalculate() {
if (this._db.notes.conflicted.length < 0) {
await this._db.context.write("hasConflicts", false);
}
- };
+ }
}
export default Conflicts;