more work on notifications + status edits
This commit is contained in:
parent
7e6d835125
commit
6783236351
6 changed files with 68 additions and 44 deletions
|
|
@ -22,10 +22,7 @@ const mastoApiNotificationTypes = new Set([
|
|||
'pleroma:report',
|
||||
])
|
||||
|
||||
const fetchAndUpdate = (
|
||||
{ credentials },
|
||||
{ older = false, sinceId }
|
||||
) => {
|
||||
const fetchAndUpdate = ({ credentials }, { older = false, sinceId }) => {
|
||||
useNotificationsStore().setLoading(true)
|
||||
const args = { credentials }
|
||||
const timelineData = useNotificationsStore()
|
||||
|
|
@ -115,7 +112,6 @@ const fetchNotifications = ({ args, older }) => {
|
|||
})
|
||||
}
|
||||
|
||||
|
||||
const notificationsFetcher = (credentials) => {
|
||||
const state = {
|
||||
interval: null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue