diff --git a/src/components/UsersDetails.tsx/index.tsx b/src/components/UsersDetails.tsx/index.tsx index 16ff440..bddae82 100644 --- a/src/components/UsersDetails.tsx/index.tsx +++ b/src/components/UsersDetails.tsx/index.tsx @@ -118,32 +118,44 @@ export const UsersDetails = ({ meta }: UsersDetailsProps) => { ) })} - {viewers.map((signer) => { - const pubkey = npubToHex(signer)! - const profile = profiles[pubkey] - - return ( - - - - - - ) - })} + + {viewers.length > 0 && ( + <> +

Viewers

+
+ + {viewers.map((signer) => { + const pubkey = npubToHex(signer)! + const profile = profiles[pubkey] + + return ( + + + + + + ) + })} + +
+ + )}

Details