From 398e3b194524cc74daf1615c50ab14a1194a30e9 Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Sun, 9 Nov 2025 23:01:15 -0500 Subject: [PATCH] refactor: add type to prevent future drift Signed-off-by: Adam Setch --- src/renderer/context/App.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/renderer/context/App.tsx b/src/renderer/context/App.tsx index 3e08f5d98..2bbe72771 100644 --- a/src/renderer/context/App.tsx +++ b/src/renderer/context/App.tsx @@ -359,7 +359,7 @@ export const AppProvider = ({ children }: { children: ReactNode }) => { [auth, settings, unsubscribeNotification], ); - const contextValues = useMemo( + const contextValues: AppContextState = useMemo( () => ({ auth, isLoggedIn, @@ -378,6 +378,7 @@ export const AppProvider = ({ children }: { children: ReactNode }) => { hasUnreadNotifications, fetchNotifications: fetchNotificationsWithAccounts, + removeAccountNotifications, markNotificationsAsRead: markNotificationsAsReadWithAccounts, markNotificationsAsDone: markNotificationsAsDoneWithAccounts, unsubscribeNotification: unsubscribeNotificationWithAccounts, @@ -406,6 +407,7 @@ export const AppProvider = ({ children }: { children: ReactNode }) => { hasUnreadNotifications, fetchNotificationsWithAccounts, + removeAccountNotifications, markNotificationsAsReadWithAccounts, markNotificationsAsDoneWithAccounts, unsubscribeNotificationWithAccounts,