Skip to content
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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

C17 Whales - Grace Park #87

wants to merge 7 commits into from

Conversation

gpark439
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 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>

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.

Comment on lines +43 to +46
{/* <ChatEntry
sender={senderData}
body={bodyData}
timeStamp={timeStampData}

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';

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.

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