mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-03 00:56:00 +02:00
lint fixes
This commit is contained in:
@@ -77,7 +77,7 @@ const fetchEndpoint = computed(() => {
|
||||
const intervalClear = ref<(() => void) | undefined>();
|
||||
|
||||
const tick = () => {
|
||||
if (document.visibilityState === 'hidden' && rawItems.value.length !== 0) return;
|
||||
if (window.document.visibilityState === 'hidden' && rawItems.value.length !== 0) return;
|
||||
|
||||
window.fetch(fetchEndpoint.value, {})
|
||||
.then(res => res.json())
|
||||
|
||||
Reference in New Issue
Block a user