From 00c743d43bc59a024d6a635bd8a06dbc0de9dbf8 Mon Sep 17 00:00:00 2001 From: Jakub Kotula <520927+jkbktl@users.noreply.github.com> Date: Thu, 16 Nov 2023 12:43:44 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Felicio Mununga --- packages/DApp/src/componentsMobile/ConnectMobile.tsx | 1 - packages/DApp/src/hooks/useCommunities.ts | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/DApp/src/componentsMobile/ConnectMobile.tsx b/packages/DApp/src/componentsMobile/ConnectMobile.tsx index be0e70c..2dd1302 100644 --- a/packages/DApp/src/componentsMobile/ConnectMobile.tsx +++ b/packages/DApp/src/componentsMobile/ConnectMobile.tsx @@ -31,7 +31,6 @@ export const ConnectMobile = () => { }} isActive={isActive} > - {!isActive && '⚠️ '} {shortenAddress(account)} diff --git a/packages/DApp/src/hooks/useCommunities.ts b/packages/DApp/src/hooks/useCommunities.ts index f84e6fb..b7802dd 100644 --- a/packages/DApp/src/hooks/useCommunities.ts +++ b/packages/DApp/src/hooks/useCommunities.ts @@ -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,