Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Train fix for #6115: threadRowActions takes two arguments on main

milind-soni9a21f1915ea3
diff --git a/src/components/SidebarBotThreadsPeek.tsx b/src/components/SidebarBotThreadsPeek.tsx
index b4bcc7b7c6..b0a366adaa 100644
--- a/src/components/SidebarBotThreadsPeek.tsx
+++ b/src/components/SidebarBotThreadsPeek.tsx
@@ -94,7 +94,7 @@ export function SidebarBotThreadsPeek({ bot, dispatch }: { bot: PeekBot; dispatc
close();
});
- const actions = threadRowActions(bot.id, dispatch, false);
+ const actions = threadRowActions(bot.id, dispatch);
const confirm = <ConfirmDialog open={deleting !== undefined} title={t("task.deleteConfirm")} body={t("task.deleteBody", { title: deleting?.title ?? "" })} confirmLabel={t("task.deleteAria")}
onCancel={() => setDeletingId(null)} onConfirm={() => { if (deleting && !isWorking(deleting)) actions.onDelete(deleting); setDeletingId(null); }} returnFocusRef={anchor} />;
const slot = cn(SLOT, open && "pointer-events-auto opacity-100");