π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Rely on types
Manav Rathi1f94020738f4
diff --git a/web/apps/auth/eslint.config.mjs b/web/apps/auth/eslint.config.mjsindex ad299b88f8..343e138f71 100644--- a/web/apps/auth/eslint.config.mjs+++ b/web/apps/auth/eslint.config.mjs@@ -4,12 +4,9 @@ export default [...config,{rules: {- /* TODO:- * "This rule requires the `strictNullChecks` compiler option to be- * turned on to function correctly"- */+ // We want to turn this off globally, but after having revisited all+ // existing uses."@typescript-eslint/prefer-nullish-coalescing": "off",- "@typescript-eslint/no-unnecessary-condition": "off",/** TODO: Disabled as we migrate, try to prune these again */"react-hooks/exhaustive-deps": "off",},diff --git a/web/apps/auth/src/pages/auth.tsx b/web/apps/auth/src/pages/auth.tsxindex 0d533e9bf8..81d9968be6 100644--- a/web/apps/auth/src/pages/auth.tsx+++ b/web/apps/auth/src/pages/auth.tsx@@ -66,7 +66,7 @@ const Page: React.FC = () => {const lcSearch = searchTerm.toLowerCase();const filteredCodes = codes.filter((code) =>- code.issuer?.toLowerCase().includes(lcSearch) ||+ code.issuer.toLowerCase().includes(lcSearch) ||code.account?.toLowerCase().includes(lcSearch),);@@ -275,7 +275,7 @@ const OTPDisplay: React.FC<OTPDisplayProps> = ({ code, otp, nextOTP }) => {textAlign: "left",}}>- {code.issuer ?? ""}+ {code.issuer}</p><pstyle={{