Removed redundant code

This commit is contained in:
Rykkel
2024-08-12 22:36:24 +08:00
parent d1e3d00503
commit 6b7b4bba11

View File

@@ -73,37 +73,6 @@ export default function CommentsModule() {
<div className="font-bold">{user.firstName} {user.lastName}</div> <div className="font-bold">{user.firstName} {user.lastName}</div>
<div className="break-words whitespace-pre-wrap">{comment.content}</div> <div className="break-words whitespace-pre-wrap">{comment.content}</div>
</div> </div>
<div className="flex-shrink-0 ml-10">
<div className="flex flex-row-reverse justify-center items-center size-7">
<Dropdown>
<div>
<DropdownTrigger
className="justify-center items-center"
>
<Button isIconOnly variant="light">
<EllipsisHorizontalIcon />
</Button>
</DropdownTrigger>
</div>
<DropdownMenu aria-label="Static Actions">
<DropdownItem
key="edit"
textValue="Edit"
>
Edit
</DropdownItem>
<DropdownItem
key="delete"
textValue="Delete"
className="text-danger"
color="danger"
>
Delete
</DropdownItem>
</DropdownMenu>
</Dropdown>
</div>
</div>
</div> </div>
<div className="flex flex-row ml-14 mt-2 gap-3 w-11/12"> <div className="flex flex-row ml-14 mt-2 gap-3 w-11/12">
<div className="h-2"></div> <div className="h-2"></div>