From 52d4db3fa2236f2d3d8d6b55aa6ac9398c6dc04e Mon Sep 17 00:00:00 2001 From: teodorus-nathaniel Date: Fri, 15 Dec 2023 19:09:40 +0700 Subject: [PATCH 1/4] style: reduce gap and image for profile preview in mobile --- src/components/ProfilePreview.tsx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/components/ProfilePreview.tsx b/src/components/ProfilePreview.tsx index 0fe8aed59..768a7cecb 100644 --- a/src/components/ProfilePreview.tsx +++ b/src/components/ProfilePreview.tsx @@ -61,10 +61,17 @@ const ProfilePreview = ({ const showPolkadotAddress = !!isMyProxyAddress return ( -
+
From 6f3e98c5ba603a8d7e756be6ef482dbd78d6762a Mon Sep 17 00:00:00 2001 From: teodorus-nathaniel Date: Fri, 15 Dec 2023 19:12:40 +0700 Subject: [PATCH 2/4] fix: update wording for account created step --- src/components/auth/LoginModal/LoginModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/auth/LoginModal/LoginModal.tsx b/src/components/auth/LoginModal/LoginModal.tsx index 497beece0..32afb2990 100644 --- a/src/components/auth/LoginModal/LoginModal.tsx +++ b/src/components/auth/LoginModal/LoginModal.tsx @@ -81,7 +81,7 @@ export default function LoginModal({ }, 'account-created': { title: '🎉 Account created', - desc: 'We have created an anonymous account for you. You can now use Grill.chat!', + desc: 'We have created an account linked to your X for you. You can now use Grill.chat!', finalizeTemporaryAccount: true, }, 'next-actions': { From 7d76567ba1abf21f1575c5fffe04ad39ed0edd18 Mon Sep 17 00:00:00 2001 From: teodorus-nathaniel Date: Fri, 15 Dec 2023 19:20:10 +0700 Subject: [PATCH 3/4] fix: wrong type for pinned hub ids --- src/constants/hubs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants/hubs.ts b/src/constants/hubs.ts index 7c18617b6..87ee68796 100644 --- a/src/constants/hubs.ts +++ b/src/constants/hubs.ts @@ -54,7 +54,7 @@ const COMMUNITY_CHAT_HUB_ID: string[] = [PRIMARY_COMMUNITY_HUB_ID, '1025'] export const isCommunityHubId = (hubId: string | undefined) => COMMUNITY_CHAT_HUB_ID.includes(hubId ?? '') -export const PINNED_HUB_IDS = [COMMUNITY_CHAT_HUB_ID, '1031'].filter( +export const PINNED_HUB_IDS = [...COMMUNITY_CHAT_HUB_ID, '1031'].filter( Boolean ) as string[] From 5be02fbace4ba7c36f48b5d2db117008001bae13 Mon Sep 17 00:00:00 2001 From: teodorus-nathaniel Date: Fri, 15 Dec 2023 19:45:31 +0700 Subject: [PATCH 4/4] refactor: remove unnecessary typecast --- src/constants/hubs.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/constants/hubs.ts b/src/constants/hubs.ts index 87ee68796..9abcf36fb 100644 --- a/src/constants/hubs.ts +++ b/src/constants/hubs.ts @@ -54,9 +54,7 @@ const COMMUNITY_CHAT_HUB_ID: string[] = [PRIMARY_COMMUNITY_HUB_ID, '1025'] export const isCommunityHubId = (hubId: string | undefined) => COMMUNITY_CHAT_HUB_ID.includes(hubId ?? '') -export const PINNED_HUB_IDS = [...COMMUNITY_CHAT_HUB_ID, '1031'].filter( - Boolean -) as string[] +export const PINNED_HUB_IDS = [...COMMUNITY_CHAT_HUB_ID, '1031'].filter(Boolean) const HUB_ID_WITHOUT_JOIN_BUTTON = [ '1023',