This song couldn't be found.
; + if (!track) return null; + return ( ++ @{from} shared a song with you +
+ )} +musicshare shows you what friends are listening to right now, and opens it in your app.
+ + Join musicshare + +User not found.
; + if (!profile) return null; + + const togglePin = async () => { + setBusy(true); + try { + await api(`/users/${username}/pin`, { method: profile.isPinned ? 'DELETE' : 'PUT', body: profile.isPinned ? undefined : {} }); + await mutate(); + } catch (err) { + alert((err as Error).message); + } + setBusy(false); + }; + + const toggleFollow = async () => { + setBusy(true); + await api(`/users/${username}/follow`, { method: profile.isFollowing ? 'DELETE' : 'POST', body: {} }); + await mutate(); + setBusy(false); + }; + + const { user } = profile; + const preferred = me?.preferredService; + + return ( +{user.bio}
} + {profile.isSelf ? ( ++ You blocked @{user.username}. They can't see your profile or what you play, and you won't see theirs. Unblock + them from the ⋯ menu. +
+ )} + + {profile.isSelf && showQr && ( +Friends scan this in the musicshare app (or their camera) to open your profile.
+{profile.featured.comment}} +
Nothing playing right now.
+ )} + +User not found.
; - if (!profile) return null; - - const togglePin = async () => { - setBusy(true); - try { - await api(`/users/${username}/pin`, { method: profile.isPinned ? 'DELETE' : 'PUT', body: profile.isPinned ? undefined : {} }); - await mutate(); - } catch (err) { - alert((err as Error).message); - } - setBusy(false); - }; - - const toggleFollow = async () => { - setBusy(true); - await api(`/users/${username}/follow`, { method: profile.isFollowing ? 'DELETE' : 'POST', body: {} }); - await mutate(); - setBusy(false); - }; - - const { user } = profile; - const preferred = me?.preferredService; - - return ( -{user.bio}
} - {profile.isSelf ? ( -- You blocked @{user.username}. They can't see your profile or what you play, and you won't see theirs. Unblock - them from the ⋯ menu. -
- )} - - {profile.isSelf && showQr && ( -Friends scan this in the musicshare app (or their camera) to open your profile.
-{profile.featured.comment}} -
Nothing playing right now.
- )} - -