diff --git a/components/Profile/index.tsx b/components/Profile/index.tsx index a044e620..d115b778 100644 --- a/components/Profile/index.tsx +++ b/components/Profile/index.tsx @@ -32,8 +32,8 @@ export default function ProfileSection({ walletAddress }: { walletAddress: strin const councilMembersQuery = useGetMemberCouncilNameQuery(walletAddress); const periodsData = useCurrentPeriods(); - const { spartan, ambassador, treasury } = useIsNominatedCouncils(walletAddress); - const councilNomination = [spartan.data, ambassador.data, treasury.data]; + const { spartan, grants, ambassador, treasury } = useIsNominatedCouncils(walletAddress); + const councilNomination = [spartan.data, grants.data, ambassador.data, treasury.data]; const isNominatedFor = COUNCILS_DICTIONARY.map((council, index) => ({ nominated: councilNomination && Array.isArray(councilNomination) && councilNomination[index], @@ -64,21 +64,21 @@ export default function ProfileSection({ walletAddress }: { walletAddress: strin }; return ( -
+
{councilMembersQuery.data && ( - + {t('profiles.council', { council: councilMembersQuery.data })} )} -
-
+
+

{username || ensName || truncateAddress(walletAddress)}

@@ -96,7 +96,7 @@ export default function ProfileSection({ walletAddress }: { walletAddress: strin {twitter && urlIsCorrect(twitter, 'https://twitter.com') && ( @@ -105,7 +105,7 @@ export default function ProfileSection({ walletAddress }: { walletAddress: strin {address && ( @@ -122,12 +122,12 @@ export default function ProfileSection({ walletAddress }: { walletAddress: strin
-

{about}

+

{about}

{isOwnCard && !!isNominatedFor?.length && ( -
-
+
+
{calculatePercentage() === '100%' ? ( @@ -146,13 +146,13 @@ export default function ProfileSection({ walletAddress }: { walletAddress: strin percentage: calculatePercentage(), })} - + {t('profiles.completion-card.subline')}
-
-
+
+
pitch
{t('profiles.completion-card.pitch')}
{delegationPitch ? ( @@ -163,7 +163,7 @@ export default function ProfileSection({ walletAddress }: { walletAddress: strin )}
-
+
discord
{t('profiles.completion-card.discord')} @@ -176,7 +176,7 @@ export default function ProfileSection({ walletAddress }: { walletAddress: strin )}
-
+
twitter
{t('profiles.completion-card.twitter')} @@ -192,7 +192,7 @@ export default function ProfileSection({ walletAddress }: { walletAddress: strin
)} -
+

{t('profiles.subheadline')}

-
+
{isOwnCard && (
-
+