Files
NetMesh/components/systemManager/systemManagerToast.ts

7 lines
227 B
TypeScript
Raw Permalink Normal View History

import { toast } from '../ui/toast';
/** Surface action failures as a global toast instead of inline panel banners. */
export function showSystemManagerError(message: string, title?: string) {
toast.error(message, title);
}