mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-07 01:09:54 +08:00
fix: add eqeqeq lint rule (#5106)
This commit is contained in:
@@ -65,7 +65,7 @@ async function waitForScrollToFinish(page: Page) {
|
||||
let lastScrollTop: number;
|
||||
const interval = setInterval(() => {
|
||||
const { scrollTop } = document.documentElement;
|
||||
if (scrollTop != lastScrollTop) {
|
||||
if (scrollTop !== lastScrollTop) {
|
||||
lastScrollTop = scrollTop;
|
||||
} else {
|
||||
clearInterval(interval);
|
||||
|
||||
Reference in New Issue
Block a user