π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
compile along with linting
Abhinav012c237957b9
diff --git a/.gitignore b/.gitignoreindex 85276c39bf..3580b644d4 100644--- a/.gitignore+++ b/.gitignore@@ -24,6 +24,8 @@ npm-debug.log*yarn-debug.log*yarn-error.log*+tsconfig.tsbuildinfo+# local env files.env.local.env.development.localdiff --git a/packages/ui/package.json b/packages/ui/package.jsonindex d223b67b60..28f4a7389e 100644--- a/packages/ui/package.json+++ b/packages/ui/package.json@@ -3,7 +3,7 @@"version": "0.0.0","scripts": {"lint": "eslint .",- "build": "yarn lint"+ "build": "yarn lint && tsc"},"dependencies": {"@emotion/react": "11.10.6",diff --git a/packages/utils/package.json b/packages/utils/package.jsonindex ce1787177e..ba3d4cb91a 100644--- a/packages/utils/package.json+++ b/packages/utils/package.json@@ -3,7 +3,7 @@"version": "0.0.0","scripts": {"lint": "eslint .",- "build": "yarn lint"+ "build": "yarn lint && tsc"},"dependencies": {},"devDependencies": {diff --git a/packages/utils/storage/sessionStorage.ts b/packages/utils/storage/sessionStorage.tsindex bad871f760..4e83e9046a 100644--- a/packages/utils/storage/sessionStorage.ts+++ b/packages/utils/storage/sessionStorage.ts@@ -14,7 +14,8 @@ export const getKey = (key: SESSION_KEYS) => {if (typeof sessionStorage === 'undefined') {return null;}- return JSON.parse(sessionStorage.getItem(key));+ const value = sessionStorage.getItem(key);+ return value && JSON.parse(value);};export const removeKey = (key: SESSION_KEYS) => {