MCPcopy Create free account
hub / github.com/botbotrobotics/BotBrain / useNotifications

Function useNotifications

frontend/src/contexts/NotificationsContext.tsx:76–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74}
75
76export function useNotifications() {
77 const context = useContext(NotificationsContext)
78 if (!context) {
79 throw new Error("useNotifications must be used within a NotificationsProvider")
80 }
81 return context
82}
83

Callers 13

MapViewNav2Function · 0.90
MissionMapViewFunction · 0.90
SimpleMapViewFunction · 0.90
ExtrasBarFunction · 0.90
SidebarFunction · 0.90
DeliveryWidgetFunction · 0.90
MapsManagementWidgetFunction · 0.90
NotificationsPanelFunction · 0.90
WifiControlPanelFunction · 0.90
MapsPageFunction · 0.90
HealthPageFunction · 0.90
MissionsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected