Skip to content

armgit / ente

Public Imported from GitHub
0

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

Prune

Manav Rathic6fd49bff5ff
diff --git a/web/apps/photos/eslint.config.mjs b/web/apps/photos/eslint.config.mjs
index 80cc68e5b9..afb5066ea3 100644
--- a/web/apps/photos/eslint.config.mjs
+++ b/web/apps/photos/eslint.config.mjs
@@ -27,12 +27,10 @@ export default [
"@typescript-eslint/prefer-promise-reject-errors": "off",
"@typescript-eslint/no-useless-constructor": "off",
"@typescript-eslint/require-await": "off",
- "@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/no-base-to-string": "off",
- "@typescript-eslint/use-unknown-in-catch-callback-variable": "off",
"@typescript-eslint/restrict-plus-operands": "off",
"@typescript-eslint/no-unused-expressions": "off",
"react-hooks/exhaustive-deps": "off",
diff --git a/web/apps/photos/src/components/Collections/AlbumCastDialog.tsx b/web/apps/photos/src/components/Collections/AlbumCastDialog.tsx
index 68feb8add9..6f1cb4a51e 100644
--- a/web/apps/photos/src/components/Collections/AlbumCastDialog.tsx
+++ b/web/apps/photos/src/components/Collections/AlbumCastDialog.tsx
@@ -113,7 +113,7 @@ export const AlbumCastDialog: React.FC<AlbumCastDialogProps> = ({
setView("choose");
onClose();
})
- .catch((e) => {
+ .catch((e: unknown) => {
log.error("Error casting to TV", e);
setView("auto-cast-error");
});
diff --git a/web/apps/photos/src/components/Upload/Uploader.tsx b/web/apps/photos/src/components/Upload/Uploader.tsx
index 684cdb516a..f8cce68fa4 100644
--- a/web/apps/photos/src/components/Upload/Uploader.tsx
+++ b/web/apps/photos/src/components/Upload/Uploader.tsx
@@ -263,7 +263,7 @@ export default function Uploader({
};
const requestSyncWithRemote = () => {
- props.syncWithRemote().catch((e) => {
+ props.syncWithRemote().catch((e: unknown) => {
log.error(
"Ignoring error when syncing trash changes with remote",
e,