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

pull/137/head
Joaquín Sánchez 2022-11-26 16:58:30 +01:00 zatwierdzone przez GitHub
rodzic 39b005899e
commit f3ebdf3123
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

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

Wyświetl plik

@ -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',