refactor: remove deprecated masto API

This commit is contained in:
三咲智子 2022-12-03 13:36:10 +08:00
parent cc945c4827
commit fff13ee19c
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
15 changed files with 18 additions and 18 deletions

View file

@ -1,5 +1,5 @@
<script setup lang="ts">
const paginator = useMasto().timelines.getPublicIterable()
const paginator = useMasto().timelines.iteratePublic()
const stream = await useMasto().stream.streamPublicTimeline()
onBeforeUnmount(() => stream.disconnect())