Skip to content

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

docs(notification): trim redundant comment on clearNotificationActions

Steven Enamakel48751ea53640
diff --git a/app/src/store/notificationSlice.ts b/app/src/store/notificationSlice.ts
index e2d45b83be..d1cee51d7c 100644
--- a/app/src/store/notificationSlice.ts
+++ b/app/src/store/notificationSlice.ts
@@ -104,10 +104,9 @@ const notificationSlice = createSlice({
if (item) item.read = true;
},
// Drop the action buttons off a core notification once its prompt has been
- // handled (e.g. a meeting auto-join join/skip succeeded). NotificationCenter
- // only surfaces core items that still carry actions, so clearing them here
- // removes the handled prompt from the actionable list and prevents a second
- // click re-firing the same RPC (duplicate bot:join / always_join after skip).
+ // handled. NotificationCenter only surfaces core items that still carry
+ // actions, so clearing them here removes the handled prompt from the
+ // actionable list and prevents a second click re-firing the same RPC.
clearNotificationActions(state, action: PayloadAction<{ id: string }>) {
const item = state.items.find(i => i.id === action.payload.id);
if (item) item.actions = undefined;