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.

refactor(web): remove redundant add-project cancel button (#1302)

Utkarsh Patil6f517257325f
diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsx
index 55c5271c3..207082477 100644
--- a/apps/web/src/components/Sidebar.tsx
+++ b/apps/web/src/components/Sidebar.tsx
@@ -1934,7 +1934,6 @@ export default function Sidebar() {
</Tooltip>
</div>
</div>
-
{shouldShowProjectPathEntry && (
<div className="mb-2 px-1">
{isElectron && (
@@ -1985,18 +1984,6 @@ export default function Sidebar() {
{addProjectError}
</p>
)}
- <div className="mt-1.5 px-0.5">
- <button
- type="button"
- className="text-[11px] text-muted-foreground/50 transition-colors hover:text-muted-foreground"
- onClick={() => {
- setAddingProject(false);
- setAddProjectError(null);
- }}
- >
- Cancel
- </button>
- </div>
</div>
)}