React 17.x upgrade fixes

This commit is contained in:
Alex Gleason
2020-07-04 19:32:07 -05:00
parent 1e1313a023
commit a83f785b73
4 changed files with 14 additions and 14 deletions

View File

@@ -170,7 +170,7 @@ class PrivacyDropdown extends React.PureComponent {
constructor(props) {
super(props);
const { intl: { formatMessage } } = this.props;
const { intl: { formatMessage } } = props;
this.options = [
{ icon: 'globe', value: 'public', text: formatMessage(messages.public_short), meta: formatMessage(messages.public_long) },