MCPcopy Create free account
hub / github.com/Datakitpage/Datakit / useNotifications

Function useNotifications

frontend/src/hooks/useNotifications.tsx:105–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103};
104
105export const useNotifications = () => {
106 const context = useContext(NotificationContext);
107 if (context === undefined) {
108 throw new Error('useNotifications must be used within a NotificationProvider');
109 }
110 return context;
111};

Callers 8

SettingsSidebarFunction · 0.90
SidebarFunction · 0.90
UserMenuFunction · 0.90
AuthModalFunction · 0.90
SubscriptionSettingsFunction · 0.90
useCellInteractionFunction · 0.90
useFileImportFunction · 0.90
useRemoteDatasetImportFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected