MCPcopy
hub / github.com/dataelement/Clawith / useToast

Function useToast

frontend/src/components/Toast/ToastProvider.tsx:181–185  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

179}
180
181export function useToast() {
182 const ctx = useContext(ToastContext);
183 if (!ctx) throw new Error('useToast must be used within ToastProvider');
184 return ctx;
185}

Callers 9

LayoutFunction · 0.90
VerifyEmailFunction · 0.90
EnterpriseSettingsFunction · 0.90
AgentDetailPageFunction · 0.90
ToolsManagerFunction · 0.90
SkillsTabFunction · 0.90
LlmTabFunction · 0.90
BroadcastSectionFunction · 0.90
SsoChannelSectionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected