feat: timeline paginator
This commit is contained in:
parent
f3dd3fe8a5
commit
cf22ca25bf
5 changed files with 64 additions and 7 deletions
|
@ -1,8 +1,8 @@
|
|||
<script setup lang="ts">
|
||||
const masto = await useMasto()
|
||||
const { data: timelines } = await useAsyncData('timelines-public', () => masto.timelines.fetchPublic().then(r => r.value))
|
||||
const paginator = masto.timelines.getPublicIterable()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<TimelineList :timelines="timelines" />
|
||||
<TimelinePaginator :paginator="paginator" />
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue