diff --git a/packages/uiweb/src/lib/components/chat/ChatProfile/PendingMembers.tsx b/packages/uiweb/src/lib/components/chat/ChatProfile/PendingMembers.tsx index 4c055c718..de4d4185a 100644 --- a/packages/uiweb/src/lib/components/chat/ChatProfile/PendingMembers.tsx +++ b/packages/uiweb/src/lib/components/chat/ChatProfile/PendingMembers.tsx @@ -105,8 +105,6 @@ export const PendingMembers = ({ {acceptedMembers.map((item, index) => ( @@ -313,8 +309,8 @@ export const AcceptedMembers = ({ isAdmin(item) && accountStatus?.role === GROUP_ROLES.ADMIN.toLowerCase() ? [removeAdminDropdown, removeMemberDropdown] : accountStatus?.role === GROUP_ROLES.ADMIN.toLowerCase() - ? [addAdminDropdown, removeMemberDropdown] - : [] + ? [addAdminDropdown, removeMemberDropdown] + : [] } selectedMemberAddress={selectedMemberAddress} setSelectedMemberAddress={setSelectedMemberAddress} @@ -375,7 +371,7 @@ const PendingSection = styled.div` box-sizing: border-box; `; -const ArrowImage = styled(Image)` +const ArrowImage = styled(Image) ` margin-left: auto; transform: ${(props) => (props?.setPosition ? 'rotate(0)' : 'rotate(180deg)')}; `; @@ -390,7 +386,7 @@ const Badge = styled.div` font-weight: 700; `; -const ProfileSection = styled(Section)<{ theme: IChatTheme }>` +const ProfileSection = styled(Section) <{ theme: IChatTheme }>` height: fit-content; &::-webkit-scrollbar-thumb { background: transparent; diff --git a/packages/uiweb/src/lib/components/chat/ChatViewList/ChatViewList.tsx b/packages/uiweb/src/lib/components/chat/ChatViewList/ChatViewList.tsx index 7568eb575..18f266ce6 100644 --- a/packages/uiweb/src/lib/components/chat/ChatViewList/ChatViewList.tsx +++ b/packages/uiweb/src/lib/components/chat/ChatViewList/ChatViewList.tsx @@ -300,7 +300,7 @@ export const ChatViewList: React.FC = (options: IChatViewLis } return () => { - // add comment + //Empty return }; }, [chatAcceptStream, participantJoinStream]); @@ -585,7 +585,7 @@ export const ChatViewList: React.FC = (options: IChatViewLis }; //styles -const ChatViewListCard = styled(Section)` +const ChatViewListCard = styled(Section) ` &::-webkit-scrollbar-thumb { background: ${(props) => props.theme.scrollbarColor}; border-radius: 10px;