fix: use masto composable on public pages (#135)

zio/stable
Joaquín Sánchez 2022-11-26 16:58:30 +01:00 committed by GitHub
parent 39b005899e
commit f3ebdf3123
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<script setup lang="ts"> <script setup lang="ts">
const paginator = masto.timelines.getPublicIterable() const paginator = useMasto().timelines.getPublicIterable()
useHead({ useHead({
title: 'Federated', title: 'Federated',

View File

@ -1,5 +1,5 @@
<script setup lang="ts"> <script setup lang="ts">
const paginator = masto.timelines.getPublicIterable({ local: true }) const paginator = useMasto().timelines.getPublicIterable({ local: true })
useHead({ useHead({
title: 'Local', title: 'Local',