feat: explore tabs pages title (#419)

This commit is contained in:
Joaquín Sánchez 2022-12-13 19:44:40 +01:00 committed by GitHub
parent 043bfea299
commit efdab68053
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 25 additions and 4 deletions

View file

@ -1,9 +1,15 @@
<script lang="ts" setup>
const { t } = useI18n()
// limit: 20 is the default configuration of the official client
const { data, pending, error } = useLazyAsyncData(
() => useMasto().suggestions.fetchAll({ limit: 20 }),
{ immediate: true },
)
useHeadFixed({
title: () => `${t('tab.for_you')} | ${t('nav_side.explore')}`,
})
</script>
<template>