MCPcopy
hub / github.com/mudler/LocalAGI / showToast

Function showToast

webui/react-ui/src/App.jsx:14–19  ·  view source on GitHub ↗
(message, type = 'success')

Source from the content-addressed store, hash-verified

12
13 // Show toast notification
14 const showToast = (message, type = 'success') => {
15 setToast({ visible: true, message, type });
16 setTimeout(() => {
17 setToast({ visible: false, message: '', type: 'success' });
18 }, 3000);
19 };
20
21 // Navigation items
22 const navItems = [

Callers 15

handleSubmitFunction · 0.50
handleToggleStatusFunction · 0.50
handleDeleteFunction · 0.50
ChatFunction · 0.50
fetchCollectionsFunction · 0.50
handleSearchFunction · 0.50
handleCreateFunction · 0.50
handleResetFunction · 0.50
handleUploadFunction · 0.50
SourcesTabFunction · 0.50
handleAddFunction · 0.50
handleRemoveFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…