MCPcopy Create free account
hub / github.com/Fibi66/FeiControl / showNotification

Function showNotification

src/components/QuickActions.tsx:36–39  ·  view source on GitHub ↗
(type: "success" | "error", message: string)

Source from the content-addressed store, hash-verified

34 } | null>(null);
35
36 const showNotification = (type: "success" | "error", message: string) => {
37 setNotification({ type, message });
38 setTimeout(() => setNotification(null), 3000);
39 };
40
41 const handleRestartGateway = async () => {
42 // Placeholder - would call openclaw gateway restart

Callers 4

handleRestartGatewayFunction · 0.85
handleClearActivityLogFunction · 0.85
handleViewLogsFunction · 0.85
QuickActionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected