mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-24 17:01:09 -04:00
Add star
This commit is contained in:
@@ -144,13 +144,13 @@ export default function ProfileHeader(props: {
|
||||
className="sm:flex"
|
||||
username={user.username}
|
||||
/>
|
||||
{currentUser && (
|
||||
<StarButton
|
||||
targetProfile={profile}
|
||||
isStarred={starredUserIds.includes(user.id)}
|
||||
refresh={refreshStars}
|
||||
/>
|
||||
)}
|
||||
{/*{currentUser && (*/}
|
||||
{/* <StarButton*/}
|
||||
{/* targetProfile={profile}*/}
|
||||
{/* isStarred={starredUserIds.includes(user.id)}*/}
|
||||
{/* refresh={refreshStars}*/}
|
||||
{/* />*/}
|
||||
{/*)}*/}
|
||||
{currentUser && showMessageButton && (
|
||||
<SendMessageButton toUser={user} currentUser={currentUser}/>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user