Skip to content

Conversation

AzizaAlSayed
Copy link
Owner

No description provided.

export default function MemberList({
members,
onDeleteMember,
deleteMembers,

Choose a reason for hiding this comment

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

Please stay consistent with call back props names.
deleteMembers -> onDeleteMembers


export default function MemberList({
members,
onDeleteMember,

Choose a reason for hiding this comment

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

We can reuse the deleteMembers to implement deleting a single member right? So we don't have to provide 2 props of deleting single/multiple members

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