Skip to content

Commit

Permalink
update check change
Browse files Browse the repository at this point in the history
  • Loading branch information
dukenv0307 committed May 15, 2023
1 parent 3cfd644 commit fbdc927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/workspace/WorkspaceMembersPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class WorkspaceMembersPage extends React.Component {
this.validate();
}

if (!_.isEqual(prevProps.policyMemberList, this.props.policyMemberList)) {
if (prevProps.policyMemberList !== this.props.policyMemberList) {
this.setState((prevState) => {
const selectedEmployees = _.filter(prevState.selectedEmployees, (selectedEmployee) => _.has(this.props.policyMemberList, selectedEmployee));
return {
Expand Down

0 comments on commit fbdc927

Please sign in to comment.