diff --git a/pages/[[server]]/@[account]/[status].vue b/pages/[[server]]/@[account]/[status].vue index 8779cb01..82a6358c 100644 --- a/pages/[[server]]/@[account]/[status].vue +++ b/pages/[[server]]/@[account]/[status].vue @@ -10,7 +10,7 @@ definePageMeta({ const route = useRoute() const id = $(computedEager(() => route.params.status as string)) const main = ref(null) -let bottomSpace = $ref(0) + const publishWidget = ref() const { data: status, pending, refresh: refreshStatus } = useAsyncData( @@ -28,8 +28,6 @@ function scrollTo() { if (!statusElement) return - const statusRect = statusElement.getBoundingClientRect() - bottomSpace = window.innerHeight - statusRect.height statusElement.scrollIntoView(true) } @@ -59,7 +57,7 @@ onReactivated(() => {