diff --git a/web/components/multi-user-transaction-link.tsx b/web/components/multi-user-transaction-link.tsx index 70d273db..3f44349f 100644 --- a/web/components/multi-user-transaction-link.tsx +++ b/web/components/multi-user-transaction-link.tsx @@ -32,20 +32,21 @@ export function MultiUserTransactionLink(props: { setOpen(true) }} > - - {userInfos.map((userInfo, index) => - index < maxShowCount ? ( - + + {userInfos.map( + (userInfo, index) => + index < maxShowCount && ( 1} + key={userInfo.username + 'avatar'} /> - - ) : ( - & {userInfos.length - maxShowCount} more - ) + ) + )} + {userInfos.length > maxShowCount && ( + & {userInfos.length - maxShowCount} more )}