diff --git a/packages/web/components/Player/Section/Attestations.tsx b/packages/web/components/Player/Section/Attestations.tsx index ea96aebed..536a128e5 100644 --- a/packages/web/components/Player/Section/Attestations.tsx +++ b/packages/web/components/Player/Section/Attestations.tsx @@ -52,15 +52,15 @@ export const Attestations: React.FC<{ player: Player }> = ({ player }) => { return (
- {player?.ethereumAddress.toLocaleLowerCase === address?.toLocaleLowerCase && ( + {player?.ethereumAddress.toLowerCase() === address?.toLowerCase() && (

Your Attestations: ({attestations?.length})

{attestations?.map((att, i) => { const attestor = att[3].value; const timeCreated = att[1].value.value; - const attestationVal = att[0].value; + return ( = ({ player }) => { {player?.ethereumAddress.toLocaleLowerCase() !== address?.toLocaleLowerCase() && ( <>
-

Your Attestations: ({attestations?.length})

- - {attestations?.map((att, i) => { - const attestor = att[3].value; - const timeCreated = att[1].value.value; +

Your Attestations: ({attestations?.length})

+ + {attestations?.map((att, i) => { + const attestor = att[3].value; + const timeCreated = att[1].value.value; + const attestationVal = att[0].value; - const attestationVal = att[0].value; - return ( - - - {attestationVal.value} - - - By {attestor} - - {timeCreated} - - ); - })} - -
-
-