Reduce reuse
This commit is contained in:
@@ -188,7 +188,7 @@ export function useNotificationsHandler() {
|
||||
return DEFAULT_HANDLER_OPTIONS
|
||||
}
|
||||
|
||||
logger.debug('received', {e})
|
||||
logger.debug('Notifications: received', {e})
|
||||
|
||||
const payload = e.request.trigger.payload as NotificationPayload
|
||||
if (
|
||||
@@ -215,7 +215,7 @@ export function useNotificationsHandler() {
|
||||
}
|
||||
prevDate = e.notification.date
|
||||
|
||||
logger.debug('response received', {
|
||||
logger.debug('Notifications: response received', {
|
||||
actionIdentifier: e.actionIdentifier,
|
||||
})
|
||||
|
||||
@@ -242,7 +242,7 @@ export function useNotificationsHandler() {
|
||||
) {
|
||||
truncateAndInvalidate(queryClient, RQKEY_NOTIFS('mentions'))
|
||||
}
|
||||
logger.debug('handleNotification', {
|
||||
logger.debug('Notifications: handleNotification', {
|
||||
content: e.notification.request.content,
|
||||
payload: e.notification.request.trigger.payload,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user