1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-27 22:38:11 +09:00
elk/components/timeline/TimelinePublicLocal.vue

11 lines
303 B
Vue
Raw Normal View History

<script setup lang="ts">
2024-01-09 17:56:15 +09:00
const paginator = useMastoClient().v1.timelines.public.list({ limit: 30, local: true })
const stream = useStreaming(client => client.direct.subscribe())
</script>
<template>
<div>
<TimelinePaginator v-bind="{ paginator, stream }" context="public" />
</div>
</template>