feat: improve explore loading

This commit is contained in:
patak 2022-12-22 21:25:46 +01:00
parent 4d8b402b04
commit 84ea17e0cf
3 changed files with 24 additions and 20 deletions

View file

@ -13,7 +13,7 @@ const { params } = useRoute()
<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.server || isMastoInitialised" />
<NuxtPage v-if="!params.account || isMastoInitialised" />
</NuxtLayout>
<PWAPrompt />
</template>