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

@ -5,8 +5,8 @@ definePageMeta({
const { t } = useI18n()
const paginatorAll = useMasto().notifications.getIterator()
const paginatorMention = useMasto().notifications.getIterator({ types: ['mention'] })
const paginatorAll = useMasto().notifications.iterate()
const paginatorMention = useMasto().notifications.iterate({ types: ['mention'] })
const { clearNotifications } = useNotifications()
onActivated(clearNotifications)