Skip to content

Commit

Permalink
[C-1504] Prevent user from following themselves (#3187)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanjeffers authored Apr 6, 2023
1 parent 465182a commit 22a1240
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,9 @@ export const TrackScreenDetailsTile = ({
: null
const overflowActions = [
addToPlaylistAction,
user.does_current_user_follow
isOwner
? null
: user.does_current_user_follow
? OverflowAction.UNFOLLOW_ARTIST
: OverflowAction.FOLLOW_ARTIST,
isNewPodcastControlsEnabled && isLongFormContent
Expand Down

0 comments on commit 22a1240

Please sign in to comment.