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