mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-03 14:42:36 +01:00
Revert "Fix error on viewing a profile when unlogged (#28465)"
This reverts commit 1c041356a1
.
This commit is contained in:
parent
bd538598c2
commit
b624b596ee
1 changed files with 0 additions and 2 deletions
|
@ -84,8 +84,6 @@ const titleFromAccount = account => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const messageForFollowButton = relationship => {
|
const messageForFollowButton = relationship => {
|
||||||
if(!relationship) return messages.follow;
|
|
||||||
|
|
||||||
if (relationship.get('following') && relationship.get('followed_by')) {
|
if (relationship.get('following') && relationship.get('followed_by')) {
|
||||||
return messages.mutual;
|
return messages.mutual;
|
||||||
} else if (!relationship.get('following') && relationship.get('followed_by')) {
|
} else if (!relationship.get('following') && relationship.get('followed_by')) {
|
||||||
|
|
Loading…
Reference in a new issue