-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C17 Whales | Julie Warren #96
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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!
<section> | ||
<div className="widget" id="heart-widget"> | ||
{likesCount} ❤️s | ||
</div> | ||
</section> |
There was a problem hiding this comment.
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'; |
There was a problem hiding this comment.
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.
No description provided.