Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

Use undo icon for revert action in chat timeline

Julius Marminge5209967a7e8b
diff --git a/apps/web/src/components/ChatView.tsx b/apps/web/src/components/ChatView.tsx
index b38643056..cfc5f81af 100644
--- a/apps/web/src/components/ChatView.tsx
+++ b/apps/web/src/components/ChatView.tsx
@@ -93,6 +93,7 @@ import {
InfoIcon,
LockIcon,
LockOpenIcon,
+ Undo2Icon,
XIcon,
} from "lucide-react";
import { Button } from "./ui/button";
@@ -2601,7 +2602,7 @@ const MessagesTimeline = memo(function MessagesTimeline({
disabled={isRevertingCheckpoint || isWorking}
onClick={() => onRevertUserMessage(timelineEntry.message.id)}
>
- {isRevertingCheckpoint ? "Reverting..." : "Revert agent work"}
+ <Undo2Icon className="size-3" />
</Button>
)}
<p className="text-right text-[10px] text-muted-foreground/30">