mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-19 08:05:20 +00:00
stop double alerting on events
This commit is contained in:
1 parent
a3e16e491a
commit
233f60acf6
1 file changed
+6
-4
@@ -158,10 +158,12 @@ export function Activity() {
|
||||
maybe_result: job.maybe_result,
|
||||
}));
|
||||
|
||||
// Show toast only if not first load
|
||||
if (!isFirstLoad.current) {
|
||||
showToast(newItems);
|
||||
}
|
||||
// NB(bt,2025-07-28): Don't use eventing from here anymore.
|
||||
// Tauri is sending direct events we can bind toasts to.
|
||||
// // Show toast only if not first load
|
||||
// if (!isFirstLoad.current) {
|
||||
// showToast(newItems);
|
||||
// }
|
||||
|
||||
// Update state
|
||||
setCompletedItems((prev) => {
|
||||
|
||||
Reference in new issue
Block a user