1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-03 21:56:18 +02:00

lint fixes

This commit is contained in:
syuilo
2025-03-29 16:09:27 +09:00
parent 6c2c3f08be
commit d9d796b204
16 changed files with 37 additions and 43 deletions

View File

@@ -82,11 +82,11 @@ function moveBySystem(to: number): Promise<void> {
return;
}
const startTime = Date.now();
let intervalId = setInterval(() => {
let intervalId = window.setInterval(() => {
const time = Date.now() - startTime;
if (time > RELEASE_TRANSITION_DURATION) {
pullDistance.value = to;
clearInterval(intervalId);
window.clearInterval(intervalId);
r();
return;
}