Skip to content

Commit

Permalink
chore(ui): variable rename in member selection modal (#8529)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sukeerthi31 authored Aug 2, 2023
1 parent e2919cf commit 519f2e9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ export const AddGroupMembersModal = ({ urn, visible, onCloseModal, onSubmit }: P
setSelectedMembers(newUsers);
};

const onDeselectMember = (memberUrn: { key: string; label: React.ReactNode; value: string }) => {
const onDeselectMember = (member: { key: string; label: React.ReactNode; value: string }) => {
setInputValue('');
const newUserActors = selectedMembers.filter((user) => user.value !== memberUrn.value);
const newUserActors = selectedMembers.filter((user) => user.value !== member.value);
setSelectedMembers(newUserActors);
};

Expand Down

0 comments on commit 519f2e9

Please sign in to comment.