diff --git a/web/modals/threads/members/member.react.js b/web/modals/threads/members/member.react.js
--- a/web/modals/threads/members/member.react.js
+++ b/web/modals/threads/members/member.react.js
@@ -16,19 +16,21 @@
ThreadInfo,
} from 'lib/types/minimally-encoded-thread-permissions-types.js';
import { useDispatchActionPromise } from 'lib/utils/redux-promise-utils.js';
-import { useRolesFromCommunityThreadInfo } from 'lib/utils/role-utils.js';
import ChangeMemberRoleModal from './change-member-role-modal.react.js';
import css from './members-modal.css';
import UserAvatar from '../../../avatars/user-avatar.react.js';
import CommIcon from '../../../CommIcon.react.js';
-import Label from '../../../components/label.react.js';
import MenuItem from '../../../components/menu-item.react.js';
import Menu from '../../../components/menu.react.js';
import { usePushUserProfileModal } from '../../user-profile/user-profile-utils.js';
const commIconComponent = ;
+const editIconComponent = (
+
+);
+
type Props = {
+memberInfo: RelativeMemberInfo,
+threadInfo: ThreadInfo,
@@ -40,9 +42,6 @@
const { pushModal } = useModalContext();
const userName = stringForUser(memberInfo);
- const roles = useRolesFromCommunityThreadInfo(threadInfo, [memberInfo]);
- const roleName = roles.get(memberInfo.id)?.name;
-
const onMenuChange = React.useCallback(
(menuOpen: boolean) => {
if (menuOpen) {
@@ -103,28 +102,17 @@
[memberInfo, onClickRemoveUser, onClickChangeRole, threadInfo],
);
- const userSettingsIcon = React.useMemo(
- () => ,
- [],
- );
-
- const label = React.useMemo(
- () => ,
- [roleName],
- );
-
const pushUserProfileModal = usePushUserProfileModal(memberInfo.id);
return (
- {userName}
- {label}
+
{userName}