Apply suggestions from code review
Co-authored-by: Felicio Mununga <felicio@users.noreply.github.com>
This commit is contained in:
parent
7769aaba5c
commit
00c743d43b
|
@ -31,7 +31,6 @@ export const ConnectMobile = () => {
|
|||
}}
|
||||
isActive={isActive}
|
||||
>
|
||||
{!isActive && '⚠️ '}
|
||||
{shortenAddress(account)}
|
||||
</Account>
|
||||
<Subnav className={isOpened ? 'opened' : undefined}>
|
||||
|
|
|
@ -35,9 +35,6 @@ export function useCommunities(publicKeys: string[]): CommunityDetail[] {
|
|||
publicKeys.map(async (publicKey) => {
|
||||
const deserializedPublicKey = deserializePublicKey(publicKey)
|
||||
|
||||
console.log('deserializedPublicKey', deserializedPublicKey)
|
||||
console.log('public key', publicKey)
|
||||
|
||||
if (communitiesDetails[deserializedPublicKey]) {
|
||||
return
|
||||
}
|
||||
|
@ -62,7 +59,7 @@ export function useCommunities(publicKeys: string[]): CommunityDetail[] {
|
|||
})
|
||||
)
|
||||
: null,
|
||||
link: `https://status.app/c/${publicKey}}`,
|
||||
link: `https://status.app/c#${publicKey}`,
|
||||
currentVoting: undefined,
|
||||
tags: community.tags,
|
||||
numberOfMembers: Object.keys(community.members).length,
|
||||
|
|
Loading…
Reference in New Issue