fix: use lazy pagination (#563)

This commit is contained in:
Daniel Roe 2022-12-26 09:34:30 +01:00 committed by GitHub
parent 59d0cfa10e
commit c8a7e6e7e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 34 additions and 4 deletions

View file

@ -13,8 +13,7 @@ const { params } = useRoute()
<template>
<NuxtLoadingIndicator color="repeating-linear-gradient(to right,var(--c-primary) 0%,var(--c-primary-active) 100%)" />
<NuxtLayout :key="key">
<!-- TODO: rework the /[account] routes to remove conditional loading -->
<NuxtPage v-if="(!params.account && $route.path !== '/signin/callback') || isMastoInitialised" />
<NuxtPage />
</NuxtLayout>
<AriaAnnouncer />
</template>