chore: Reposition 'Remove project' option for better usability

This commit is contained in:
Roushan Singh 2025-10-03 16:14:27 +05:30 committed by Faisal Amir
parent 8ed68d9c19
commit 73b241c16f

View File

@ -262,9 +262,9 @@ const SortableItem = memo(
</DropdownMenuItem>
))
)}
</DropdownMenuSubContent>
</DropdownMenuSub>
{thread.metadata?.project && (
<>
<DropdownMenuSeparator />
<DropdownMenuItem
onClick={(e) => {
e.stopPropagation()
@ -282,12 +282,9 @@ const SortableItem = memo(
}}
>
<IconX size={16} />
<span>Remove from project</span>
<span>Remove</span>
</DropdownMenuItem>
</>
)}
</DropdownMenuSubContent>
</DropdownMenuSub>
<DropdownMenuSeparator />
<DeleteThreadDialog
thread={thread}