Skip to content

Commit

Permalink
Fix of #730
Browse files Browse the repository at this point in the history
  • Loading branch information
AJIXuMuK committed Nov 18, 2020
1 parent 2780e87 commit 3aeddaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controls/peoplepicker/PeoplePickerComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class PeoplePicker extends React.Component<IPeoplePickerProps, IPeoplePic
}

public componentWillReceiveProps(nextProps: IPeoplePickerProps) {
if (nextProps.errorMessage) {
if (nextProps.errorMessage !== this.props.errorMessage) {
this.setState({
errorMessage: nextProps.errorMessage
});
Expand Down

0 comments on commit 3aeddaa

Please sign in to comment.