summaryrefslogtreecommitdiffhomepage
path: root/app/lib
diff options
context:
space:
mode:
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/backend.js4
-rw-r--r--app/lib/enum.js4
2 files changed, 3 insertions, 5 deletions
diff --git a/app/lib/backend.js b/app/lib/backend.js
index 7d94baa5a5..55560cca2c 100644
--- a/app/lib/backend.js
+++ b/app/lib/backend.js
@@ -31,7 +31,7 @@ class BackendImpl {
if(account.startsWith('1111')) {
resolve(true);
} else {
- reject(new Error("Invalid account number."));
+ reject(new Error('Invalid account number.'));
}
}, 2000);
});
@@ -73,4 +73,4 @@ export default class Backend {
return getImpl(this).logout();
}
-};
+}
diff --git a/app/lib/enum.js b/app/lib/enum.js
index bc8e4b54aa..4359c3bfb3 100644
--- a/app/lib/enum.js
+++ b/app/lib/enum.js
@@ -1,5 +1,3 @@
-import assert from 'assert';
-
/**
* Creates enum object with keys provided as arguments
*/
@@ -17,4 +15,4 @@ export default function Enum() {
Object.freeze(object);
return object;
-};
+}