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">
const paginator = masto.timelines.getPublicIterable()
const paginator = useMasto().timelines.getPublicIterable()
useHead({
title: 'Federated',

View File

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