fix: add delete in dropdown (#6599)
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in> Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>6602-replace-all-focus-with-focus-visible
parent
52e318ca18
commit
5ab56310bf
|
@ -219,7 +219,7 @@ export default function MemberListItem(props: Props) {
|
|||
type="button"
|
||||
onClick={() => setShowChangeMemberRoleModal(true)}
|
||||
StartIcon={Icon.FiEdit2}>
|
||||
{t("edit") as string}
|
||||
{t("edit")}
|
||||
</DropdownItem>
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem>
|
||||
|
@ -228,7 +228,7 @@ export default function MemberListItem(props: Props) {
|
|||
color="destructive"
|
||||
onClick={() => setShowDeleteModal(true)}
|
||||
StartIcon={Icon.FiTrash}>
|
||||
{t("edit") as string}
|
||||
{t("delete")}
|
||||
</DropdownItem>
|
||||
</DropdownMenuItem>
|
||||
</>
|
||||
|
|
Loading…
Reference in New Issue