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

This commit is contained in:
Utkarsh Patil authored and GitHub committed 2026-03-30 10:31:38 -07:00
1 parent 8622b952ca
commit 6f51725732
1 file changed
-13
-13
View File
@@ -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>
)}