fix: anonymous user is not clickable (#258)
* fix: anonymous user is not clickable * fix: link handled for anonymous user everywhere
This commit is contained in:
@@ -75,7 +75,7 @@ function AuthorLabel({
|
||||
</div>
|
||||
);
|
||||
|
||||
return linkToProfile && author && learnersTabEnabled
|
||||
return linkToProfile && author && learnersTabEnabled && author !== messages.anonymous
|
||||
? (
|
||||
<Link
|
||||
data-testid="learner-posts-link"
|
||||
|
||||
Reference in New Issue
Block a user