Skip to content

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

Sidebar threads peek: follow the two-argument threadRowActions from main

luishron123131f4c2b96af
diff --git a/src/components/SidebarBotThreadsPeek.tsx b/src/components/SidebarBotThreadsPeek.tsx
index 56dbd36df7..96fd4ceb90 100644
--- a/src/components/SidebarBotThreadsPeek.tsx
+++ b/src/components/SidebarBotThreadsPeek.tsx
@@ -119,7 +119,7 @@ export function SidebarBotThreadsPeek({ bot, onScreen = false, dispatch }: { bot
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");