@devries-cameron20 / t3code-1 / commits / 34cef6202b
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(web): update add-project toggle label in cancel state (#1248)

Utkarsh Patil committed Mar 21, 2026 at 00:01 UTC 34cef6202b6c2eb0594df0eca412b36daf819ba2
1 file changed +4 -2
apps/web/src/components/Sidebar.tsx
+4 -2
@@ -1237,7 +1237,7 @@ export default function Sidebar() {
1237 render={
1238 <button
1239 type="button"
1240 - aria-label="Add project"
1240 + aria-label={shouldShowProjectPathEntry ? "Cancel add project" : "Add project"}
1241 aria-pressed={shouldShowProjectPathEntry}
1242 className="inline-flex size-5 cursor-pointer items-center justify-center rounded-md text-muted-foreground/60 transition-colors hover:bg-accent hover:text-foreground"
1243 onClick={handleStartAddProject}
@@ -1250,7 +1250,9 @@ export default function Sidebar() {
1250 }`}
1251 />
1252 </TooltipTrigger>
1253 - <TooltipPopup side="right">Add project</TooltipPopup>
1253 + <TooltipPopup side="right">
1254 + {shouldShowProjectPathEntry ? "Cancel add project" : "Add project"}
1255 + </TooltipPopup>
1256 </Tooltip>
1257 </div>
1258