-
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 - Grace Park #87
base: main
Are you sure you want to change the base?
Conversation
…estamp not visible
…ve 3 tests pass individually
…l or remote (optional enhancement)
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 left a few small notes but everything else looks good.
Well done!
<h1> | ||
Chat between {chatMessages[0].sender} and {chatMessages[1].sender} | ||
</h1> | ||
<h2> {countLiked()} ❤️s</h2> |
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: This should be a section
or p
or something since h1
, h2
, etc should be reserved for titles of parts of the page and this doesn't actually have content associated with it.
{/* <ChatEntry | ||
sender={senderData} | ||
body={bodyData} | ||
timeStamp={timeStampData} |
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: It's industry standard to remove commented out code before submitting a PR.
|
||
// determine local or remote sender | ||
const senderType = | ||
props.sender === 'Vladimir' ? 'chat-entry local' : 'chat-entry remote'; |
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 couldn't re-use these components for a chat between other people.
No description provided.