[MM-55116] Replace usage of LocalizedIcon in 'view_user_group_list_item.tsx' with i/span tags (#25144)
Этот коммит содержится в:
@@ -9,10 +9,8 @@ import type {UserProfile} from '@mattermost/types/users';
|
||||
|
||||
import type {ActionResult} from 'mattermost-redux/types/actions';
|
||||
|
||||
import LocalizedIcon from 'components/localized_icon';
|
||||
import Avatar from 'components/widgets/users/avatar';
|
||||
|
||||
import {t} from 'utils/i18n';
|
||||
import * as Utils from 'utils/utils';
|
||||
|
||||
export type Props = {
|
||||
@@ -70,9 +68,8 @@ const ViewUserGroupListItem = (props: Props) => {
|
||||
aria-label='Close'
|
||||
onClick={removeUserFromGroup}
|
||||
>
|
||||
<LocalizedIcon
|
||||
<i
|
||||
className='icon icon-trash-can-outline'
|
||||
ariaLabel={{id: t('user_groups_modal.goBackLabel'), defaultMessage: 'Back'}}
|
||||
/>
|
||||
</button>
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user