Skip to content

Commit

Permalink
fix: isFollowed detection
Browse files Browse the repository at this point in the history
  • Loading branch information
iuricmp committed Oct 16, 2024
1 parent 2daa7f9 commit f1c9882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mobile/components/view/account/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function AccountView(props: Props) {
} = props;
const accountName = user.name;

const isFollowed = useMemo(() => followers.find((f) => f.address.toString() === currentUser.address.toString()) != null, [user, followers]);
const isFollowed = useMemo(() => followers.find((f) => f.address.toString() === currentUser.bech32) != null, [user, followers]);

const avarUri = user.avatar ? user.avatar : "https://www.gravatar.com/avatar/tmp";

Expand Down

0 comments on commit f1c9882

Please sign in to comment.