Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(toast): prevent duplicate toasts from appearing

Steven Enamakel5eaa41f3d567
diff --git a/app/src/components/intelligence/Toast.tsx b/app/src/components/intelligence/Toast.tsx
index 9416c2b854..96a25735ed 100644
--- a/app/src/components/intelligence/Toast.tsx
+++ b/app/src/components/intelligence/Toast.tsx
@@ -60,6 +60,7 @@ const TOAST_ICON_STYLES = {
};
function Toast({ notification, onRemove }: ToastProps) {
+ const { t } = useT();
const [isVisible, setIsVisible] = useState(false);
const [isExiting, setIsExiting] = useState(false);