fix: use masto composable on public pages (#135)
This commit is contained in:
parent
39b005899e
commit
f3ebdf3123
|
@ -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',
|
||||||
|
|
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue