Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Prep

Manav Rathi4536486daac5
diff --git a/web/apps/photos/.eslintrc.js b/web/apps/photos/.eslintrc.js
index f97cf1e20a..3ae4ddd8df 100644
--- a/web/apps/photos/.eslintrc.js
+++ b/web/apps/photos/.eslintrc.js
@@ -45,7 +45,6 @@ module.exports = {
"@typescript-eslint/prefer-for-of": "off",
"@typescript-eslint/no-confusing-void-expression": "off",
"@typescript-eslint/use-unknown-in-catch-callback-variable": "off",
- "@typescript-eslint/only-throw-error": "off",
"@typescript-eslint/restrict-plus-operands": "off",
"@typescript-eslint/no-meaningless-void-operator": "off",
"react-hooks/exhaustive-deps": "off",
diff --git a/web/apps/photos/src/pages/_app.tsx b/web/apps/photos/src/pages/_app.tsx
index 3a4e638e2e..e92f092a76 100644
--- a/web/apps/photos/src/pages/_app.tsx
+++ b/web/apps/photos/src/pages/_app.tsx
@@ -159,7 +159,7 @@ export default function App({ Component, pageProps }: AppProps) {
redirectToFamilyPortal();
// https://github.com/vercel/next.js/issues/2476#issuecomment-573460710
- // eslint-disable-next-line no-throw-literal
+ // eslint-disable-next-line @typescript-eslint/only-throw-error
throw "Aborting route change, redirection in process....";
}
});