Skip to content

Commit

Permalink
Show number of mutually trusted for all accounts, zero if none
Browse files Browse the repository at this point in the history
  • Loading branch information
louilinn committed Oct 6, 2023
1 parent b0dc048 commit f8be545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ProfileMini.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const ProfileMini = ({

const [isRedirect, setIsRedirect] = useState(false);

const mutualFriendsCount = connection.mutualConnections.length;
const mutualFriendsCount = connection.mutualConnections.length || 0;

const handleSend = (event) => {
event.stopPropagation();
Expand Down

0 comments on commit f8be545

Please sign in to comment.