Apply suggestions from code review

Co-authored-by: Felicio Mununga <felicio@users.noreply.github.com>
This commit is contained in:
Jakub Kotula 2023-11-16 12:43:44 +01:00 committed by GitHub
parent 7769aaba5c
commit 00c743d43b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions

View File

@ -31,7 +31,6 @@ export const ConnectMobile = () => {
}}
isActive={isActive}
>
{!isActive && '⚠️ '}
{shortenAddress(account)}
</Account>
<Subnav className={isOpened ? 'opened' : undefined}>

View File

@ -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,