import React from 'react' import ReactionBar from '../comments/ReactionBar' export default function ActivityReactions({ activity, isLoggedIn = false }) { const commentId = activity?.comment?.id || null const commentUrl = activity?.comment?.url || null const artworkUrl = activity?.artwork?.url || null const storyUrl = activity?.story?.url || null if (!commentId && !artworkUrl && !storyUrl) { return null } return (
{commentId ? ( ) : null} {commentUrl ? ( Reply ) : null} {artworkUrl ? ( View artwork ) : null} {storyUrl ? ( Read story ) : null}
) }