Skip to content

armgit / ente

Public Imported from GitHub
0

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

Help not hinder

Manav Rathi93d1813f972b
diff --git a/web/apps/cast/src/pages/index.tsx b/web/apps/cast/src/pages/index.tsx
index f48a21b6ce..6a27c0d391 100644
--- a/web/apps/cast/src/pages/index.tsx
+++ b/web/apps/cast/src/pages/index.tsx
@@ -56,7 +56,7 @@ export default function Index() {
}
};
- const interval = setInterval(() => pollTick, 2000);
+ const interval = setInterval(pollTick, 2000);
return () => clearInterval(interval);
}, [publicKeyB64, privateKeyB64, pairingCode, router]);
diff --git a/web/apps/cast/src/pages/slideshow.tsx b/web/apps/cast/src/pages/slideshow.tsx
index ac8fcc2c26..0915c42392 100644
--- a/web/apps/cast/src/pages/slideshow.tsx
+++ b/web/apps/cast/src/pages/slideshow.tsx
@@ -16,7 +16,7 @@ export default function Slideshow() {
useEffect(() => {
/** Go back to pairing page */
- const pair = () => router.push("/");
+ const pair = () => void router.push("/");
let stop = false;
@@ -29,7 +29,7 @@ export default function Slideshow() {
// No items in this callection can be shown.
setIsEmpty(true);
// Go back to pairing screen after 5 seconds.
- setTimeout(() => pair, 5000);
+ setTimeout(pair, 5000);
return;
}
@@ -37,7 +37,7 @@ export default function Slideshow() {
}
} catch (e) {
log.error("Failed to prepare generator", e);
- void pair();
+ pair();
}
};
diff --git a/web/packages/build-config/eslintrc-base.js b/web/packages/build-config/eslintrc-base.js
index 95d9976521..0b54770457 100644
--- a/web/packages/build-config/eslintrc-base.js
+++ b/web/packages/build-config/eslintrc-base.js
@@ -36,6 +36,7 @@ module.exports = {
"error",
{
checksVoidReturn: {
+ arguments: false,
attributes: false,
},
},