Skip to content

Loredana benzar 6 a list of other users#41

Merged
LAVINIABENZAR merged 3 commits intomainfrom
loredana-benzar-6-a-list-of-other-users
Feb 8, 2024
Merged

Loredana benzar 6 a list of other users#41
LAVINIABENZAR merged 3 commits intomainfrom
loredana-benzar-6-a-list-of-other-users

Conversation

@LAVINIABENZAR
Copy link
Copy Markdown

@LAVINIABENZAR LAVINIABENZAR linked an issue Feb 7, 2024 that may be closed by this pull request
const UserCard = ({ user }) => {

const initials = user.firstName?.charAt(0) + user.lastName?.charAt(0)
if (!user.firstName || !user.lastName ) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This if statement should be done before grabbing the initials

Comment thread src/components/usersList/index.js Outdated
return <></>
}

console.log(users)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Let's remove this console log

@LAVINIABENZAR LAVINIABENZAR merged commit a997a70 into main Feb 8, 2024
@NazarTymiv NazarTymiv deleted the loredana-benzar-6-a-list-of-other-users branch February 8, 2024 10:51
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.

A list of other users

2 participants