diff --git a/webapp/channels/src/components/admin_console/group_settings/group_details/__snapshots__/group_users.test.tsx.snap b/webapp/channels/src/components/admin_console/group_settings/group_details/__snapshots__/group_users.test.tsx.snap index c7fdaa5c27..258b77e56d 100644 --- a/webapp/channels/src/components/admin_console/group_settings/group_details/__snapshots__/group_users.test.tsx.snap +++ b/webapp/channels/src/components/admin_console/group_settings/group_details/__snapshots__/group_users.test.tsx.snap @@ -27,7 +27,7 @@ exports[`components/admin_console/group_settings/group_details/GroupUsers should className="fa fa-spinner fa-pulse fa-2x" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { - render = () => { - return ( -
- -
-
- - {'@' + this.props.username} - - {'-'} - - {this.props.displayName} - -
-
- - - - {this.props.email} -
+const GroupUsersRow = ({ + username, + displayName, + email, + userId, + lastPictureUpdate, +}: Props) => { + return ( +
+ +
+
+ + {'@' + username} + + {'-'} + + {displayName} + +
+
+ + + + {email}
- ); - }; -} +
+ ); +}; + +export default React.memo(GroupUsersRow);