diff --git a/packages/web/src/components/chat/FriendsPage.tsx b/packages/web/src/components/chat/FriendsPage.tsx
index 4b7cb614..cdd9ac54 100644
--- a/packages/web/src/components/chat/FriendsPage.tsx
+++ b/packages/web/src/components/chat/FriendsPage.tsx
@@ -98,9 +98,11 @@ export function FriendsPage({ mobile }: FriendsPageProps) {
No one's online right now.
) : (
- onlineFriends.map(friend => (
- removeFriend(friend.id)} onDm={() => handleOpenDm(friend.id, friend.homeUserId ?? undefined, friend.homeInstance)} />
- ))
+
+ {onlineFriends.map(friend => (
+ removeFriend(friend.id)} onDm={() => handleOpenDm(friend.id, friend.homeUserId ?? undefined, friend.homeInstance)} />
+ ))}
+
)}
);
@@ -116,9 +118,11 @@ export function FriendsPage({ mobile }: FriendsPageProps) {
No friends yet — add someone!
) : (
- friends.map(friend => (
- removeFriend(friend.id)} onDm={() => handleOpenDm(friend.id, friend.homeUserId ?? undefined, friend.homeInstance)} />
- ))
+
+ {friends.map(friend => (
+ removeFriend(friend.id)} onDm={() => handleOpenDm(friend.id, friend.homeUserId ?? undefined, friend.homeInstance)} />
+ ))}
+
)}
);
@@ -134,7 +138,7 @@ export function FriendsPage({ mobile }: FriendsPageProps) {
No pending requests — Nori is napping.
) : (
- <>
+
{pendingIncoming.map(req => (
cancelFriendRequest(req.id)}
/>
))}
- >
+
)}
);
@@ -890,7 +894,7 @@ function FriendItem({ friend, onRemove, onDm }: { friend: TaggedFriend, onRemove
const { baseName: friendBaseName } = parseFederatedUsername(friend.username);
const friendDisplayName = friend.displayName ?? friendBaseName;
return (
-
+
@@ -944,7 +948,7 @@ function RequestItem({ request, type, onAccept, onDecline, onCancel }: {
const reqDisplayName = user.displayName ?? reqBaseName;
return (
-