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
Udit Takkar 2023-01-21 01:27:14 +05:30 committed by GitHub
parent 52e318ca18
commit 5ab56310bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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>
</>