Skip to content

Conversation

@jawarren89
Copy link

No description provided.

Copy link

@kaidamasaki kaidamasaki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job!

I noted a couple of small things but everything else looks good.

Well done!

Comment on lines +36 to +40
<section>
<div className="widget" id="heart-widget">
{likesCount} ❤️s
</div>
</section>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style: Having a section and a div here is a bit redundant.

props.likedCallback(props.id);
};

const messageFormat = props.sender === 'Estragon' ? 'remote' : 'local';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tip: This is a little brittle, since it means we can't re-use these components for a chat between other people.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants