diff --git a/src/components/friends/views/friends-list/FriendsSearchView.tsx b/src/components/friends/views/friends-list/FriendsSearchView.tsx index 008b3eab..30079e1d 100644 --- a/src/components/friends/views/friends-list/FriendsSearchView.tsx +++ b/src/components/friends/views/friends-list/FriendsSearchView.tsx @@ -47,7 +47,7 @@ export const FriendsSearchView: FC = props => return ( - setSearchValue(event.target.value) } /> + setSearchValue(event.target.value) } /> { friendResults && <> @@ -104,38 +104,6 @@ export const FriendsSearchView: FC = props => } } - {/* - - { (friendResults.length > 0) && friendResults.map(result => - { - return ( - - - { result.avatarName } - - { result.isAvatarOnline && - OpenMessengerChat(result.avatarId) } title={ LocalizeText('friendlist.tip.im') } /> } - - - ); - }) } - - - { (otherResults.length > 0) && otherResults.map(result => - { - return ( - - - { result.avatarName } - - { canRequestFriend(result.avatarId) && - requestFriend(result.avatarId, result.avatarName) } title={ LocalizeText('friendlist.tip.addfriend') } /> } - - - ); - }) } - - */} ); } diff --git a/src/components/guide-tool/views/GuideToolMenuView.tsx b/src/components/guide-tool/views/GuideToolMenuView.tsx index 07888835..2e00351e 100644 --- a/src/components/guide-tool/views/GuideToolMenuView.tsx +++ b/src/components/guide-tool/views/GuideToolMenuView.tsx @@ -68,7 +68,7 @@ export const GuideToolMenuView: FC = props =>
- + diff --git a/src/components/room/widgets/infostand/InfoStandWidgetUserRelationshipsView.tsx b/src/components/room/widgets/infostand/InfoStandWidgetUserRelationshipsView.tsx index dea72734..4e42c28c 100644 --- a/src/components/room/widgets/infostand/InfoStandWidgetUserRelationshipsView.tsx +++ b/src/components/room/widgets/infostand/InfoStandWidgetUserRelationshipsView.tsx @@ -29,9 +29,9 @@ export const InfoStandWidgetUserRelationshipsView: FC - GetUserProfile(relationshipInfo.randomFriendId) }>{ relationshipInfo.randomFriendName } + GetUserProfile(relationshipInfo.randomFriendId) }>{ relationshipInfo.randomFriendName } { (relationshipInfo.friendCount > 1) && - { ' ' + LocalizeText(`extendedprofile.relstatus.others.${ relationshipName }`, [ 'count' ], [ (relationshipInfo.friendCount - 1).toString() ]) } } + { ' ' + LocalizeText(`extendedprofile.relstatus.others.${ relationshipName }`, [ 'count' ], [ (relationshipInfo.friendCount - 1).toString() ]) } } );