diff --git a/src/pages/user/[id]/[[...deeplink]].tsx b/src/pages/user/[id]/[[...deeplink]].tsx index 5d0d4e4..d670c38 100644 --- a/src/pages/user/[id]/[[...deeplink]].tsx +++ b/src/pages/user/[id]/[[...deeplink]].tsx @@ -352,14 +352,15 @@ const User: NextPage = ({ }; } - const privateProfile = !( - user.privacySettings?.recentlyPlayed || - user.privacySettings?.topTracks || - user.privacySettings?.topAlbums || - user.privacySettings?.topArtists || - user.privacySettings?.topGenres || - user.privacySettings?.streamStats - ); + const privateProfile = + !( + user.privacySettings?.recentlyPlayed || + user.privacySettings?.topTracks || + user.privacySettings?.topAlbums || + user.privacySettings?.topArtists || + user.privacySettings?.topGenres || + user.privacySettings?.streamStats + ) && currentUser?.id !== user.id; return ( <>