Skip to content

Commit

Permalink
fix: copying full wallet address in pending member list
Browse files Browse the repository at this point in the history
Copying wallet address was not copying full wallet address in the pending member list of group info
in push chat uiweb
  • Loading branch information
abhishek-01k committed May 22, 2024
1 parent 8d360bc commit 5d60fcf
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export const PendingMembers = ({
icon: item?.userInfo?.profile?.picture || null,
chatId: null,
web3Name: null,
recipient: shortenText(pCAIP10ToWallet(item.address?.split(':')[1]), 6, true),
recipient: pCAIP10ToWallet(item.address?.split(':')[1]),
abbrRecipient: shortenText(pCAIP10ToWallet(item.address?.split(':')[1]), 6, true),
desc: null,
}}
Expand Down Expand Up @@ -313,8 +313,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}
Expand Down Expand Up @@ -375,7 +375,7 @@ const PendingSection = styled.div`
box-sizing: border-box;
`;

const ArrowImage = styled(Image)<ShadowedProps>`
const ArrowImage = styled(Image) <ShadowedProps>`
margin-left: auto;
transform: ${(props) => (props?.setPosition ? 'rotate(0)' : 'rotate(180deg)')};
`;
Expand All @@ -390,7 +390,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;
Expand Down

0 comments on commit 5d60fcf

Please sign in to comment.