diff --git a/src/context/notifications.tsx b/src/context/notifications.tsx index f7b99573..63af695d 100644 --- a/src/context/notifications.tsx +++ b/src/context/notifications.tsx @@ -26,7 +26,7 @@ type NotificationsContextType = { showNotificationsPanel: () => void hideNotificationsPanel: () => void markNotificationAsRead: (notification: ServerNotification) => Promise - setMessageHandler: (MessageHandler) => void + setMessageHandler: (h: MessageHandler) => void } }