fix unwrapped refs

This commit is contained in:
Henry Jameson 2026-08-25 18:01:17 +03:00
commit 16e89d0a90
2 changed files with 3 additions and 3 deletions

View file

@ -121,10 +121,10 @@ const Notifications = {
) )
}, },
loading() { loading() {
return useNotificationsStore().fetcher.loading.value return useNotificationsStore().fetcher.loading
}, },
bottomedOut() { bottomedOut() {
return useNotificationsStore().fetcher.bottomedOut.value return useNotificationsStore().fetcher.bottomedOut
}, },
noHeading() { noHeading() {
const { layoutType } = useInterfaceStore() const { layoutType } = useInterfaceStore()

View file

@ -239,7 +239,7 @@ const Timeline = {
const bodyBRect = document.body.getBoundingClientRect() const bodyBRect = document.body.getBoundingClientRect()
const height = Math.max(bodyBRect.height, -bodyBRect.y) const height = Math.max(bodyBRect.height, -bodyBRect.y)
if ( if (
!this.timeline.fetcher.loadingOlder.value && !this.timeline.fetcher.loadingOlder &&
window.innerHeight + window.pageYOffset >= height - 750 window.innerHeight + window.pageYOffset >= height - 750
) { ) {
this.fetchOlderStatuses() this.fetchOlderStatuses()