Reduce reuse

This commit is contained in:
Eric Bailey
2025-02-11 21:40:32 -06:00
parent ea6d2bec7a
commit 6ee0d3ca30
4 changed files with 36 additions and 33 deletions
+3 -3
View File
@@ -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,
})